]> 4ch.mooo.com Git - 16.git/commitdiff
typecast, just to be sure
authorJonathan Campbell <jonathan@castus.tv>
Mon, 9 May 2016 02:34:58 +0000 (19:34 -0700)
committerJonathan Campbell <jonathan@castus.tv>
Mon, 9 May 2016 02:34:58 +0000 (19:34 -0700)
src/test.c

index cb59f47cdea7d7d50a9b1cc4bf244796e83b6fe7..ce05994363d82a2424234fd9edc4b9539d14b856 100755 (executable)
@@ -182,7 +182,7 @@ void main(int argc, char *argv[])
                printf("        [%u]=", i);\r
                printf("(%Fp)", (gvar.video.page[i].data));\r
                printf(" size=%ld", gvar.video.page[i].pagesize);\r
-               printf(" sw=%u  sh=%u\n", gvar.video.page[i].sw, gvar.video.page[i].sh);\r
+               printf(" sw=%lu  sh=%lu\n", (unsigned long)gvar.video.page[i].sw, (unsigned long)gvar.video.page[i].sh);\r
                printf("\n");\r
        }\r
        printf("tx=%d   ", mv[pan.pn].tx); printf("ty=%d        ", mv[pan.pn].ty); printf("player.d=%d\n", player[0].d);\r