aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-06-30 20:32:07 +0800
committerdaichi <daichi@FreeBSD.org>2003-06-30 20:32:07 +0800
commit03628f2b99a6b9abe128043d81b3424e6022bbda (patch)
tree7e9d4542da544382173e50de7834a22375d02170
parent47cd1986a977bec93fa46767a9c2a4396a67da78 (diff)
downloadfreebsd-ports-gnome-03628f2b99a6b9abe128043d81b3424e6022bbda.tar.gz
freebsd-ports-gnome-03628f2b99a6b9abe128043d81b3424e6022bbda.tar.zst
freebsd-ports-gnome-03628f2b99a6b9abe128043d81b3424e6022bbda.zip
fix: about building on -stable
Submitted by: Ulrich Spoerlein <q@uni.de> Pointed out by: bento via kris
-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));