aboutsummaryrefslogtreecommitdiff
path: root/games/quake2forge
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-30 12:32:07 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-30 12:32:07 +0000
commit1309f8d258b809bdaf8bd5564d9ed7a473ee06f0 (patch)
treec20ecc5e71dcb53d449eac2f6484a1f95aa65036 /games/quake2forge
parentd867cd4260075424f8ac2d72779cfac855b173c5 (diff)
downloadports-1309f8d258b809bdaf8bd5564d9ed7a473ee06f0.tar.gz
ports-1309f8d258b809bdaf8bd5564d9ed7a473ee06f0.zip
Notes
Diffstat (limited to 'games/quake2forge')
-rw-r--r--games/quake2forge/files/patch-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/quake2forge/files/patch-main.c b/games/quake2forge/files/patch-main.c
index 78718d143537..ca04bcd5b26b 100644
--- a/games/quake2forge/files/patch-main.c
+++ b/games/quake2forge/files/patch-main.c
@@ -27,7 +27,7 @@
err = errno;
if (ret != nitems) {
- printf("verify_fread(...,%d,%d,...): return value: %d\n", size, nitems, ret);
-+ printf("verify_fread(...,%zu,%zu,...): return value: %zu\n", size, nitems, ret);
++ printf("verify_fread(...,%lu,%lu,...): return value: %lu\n", (unsigned long)size, (unsigned long)nitems, (unsigned long)ret);
if (ret == 0 && ferror(fp)) {
printf(" error: %s\n", strerror(err));
printf(" fileno=%d\n", fileno(fp));
@@ -36,7 +36,7 @@
err = errno;
if (ret != nitems) {
- printf("verify_fwrite(...,%d,%d,...) = %d\n", size, nitems, ret);
-+ printf("verify_fwrite(...,%zu,%zu,...) = %zu\n", size, nitems, ret);
++ printf("verify_fwrite(...,%lu,%lu,...) = %lu\n", (unsigned long)size, (unsigned long)nitems, (unsigned long)ret);
if (ret == 0 && ferror(fp)) {
printf(" error: %s\n", strerror(err));
printf(" fileno=%d\n", fileno(fp));