From 17059078badc368466bae1e8dae877c9a9876506 Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Sun, 8 May 2016 19:34:58 -0700 Subject: [PATCH] typecast, just to be sure --- src/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5