From: Jonathan Campbell Date: Mon, 9 May 2016 02:34:58 +0000 (-0700) Subject: typecast, just to be sure X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=17059078badc368466bae1e8dae877c9a9876506;p=16.git typecast, just to be sure --- diff --git a/src/test.c b/src/test.c index cb59f47c..ce059943 100755 --- a/src/test.c +++ b/src/test.c @@ -182,7 +182,7 @@ void main(int argc, char *argv[]) printf(" [%u]=", i); printf("(%Fp)", (gvar.video.page[i].data)); printf(" size=%ld", gvar.video.page[i].pagesize); - printf(" sw=%u sh=%u\n", gvar.video.page[i].sw, gvar.video.page[i].sh); + printf(" sw=%lu sh=%lu\n", (unsigned long)gvar.video.page[i].sw, (unsigned long)gvar.video.page[i].sh); printf("\n"); } printf("tx=%d ", mv[pan.pn].tx); printf("ty=%d ", mv[pan.pn].ty); printf("player.d=%d\n", player[0].d);