aboutsummaryrefslogtreecommitdiff
path: root/games/quake2forge
diff options
context:
space:
mode:
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));