# HG changeset patch # User siretart # Date 1294603365 0 # Node ID 8bb538487b50d8521566bd572da2d4665ded6a74 # Parent cf80c8f31a1b39ee278513349a31a3c46dfb0d45 Fix printf format string warning fixes this warning: asfinfo.c: In function 'print_video_header': asfinfo.c:158: warning: format '%.4s' expects type 'char *', but argument 3 has type 'long int *' diff -r cf80c8f31a1b -r 8bb538487b50 TOOLS/asfinfo.c --- a/TOOLS/asfinfo.c Sun Jan 09 18:47:46 2011 +0000 +++ b/TOOLS/asfinfo.c Sun Jan 09 20:02:45 2011 +0000 @@ -155,7 +155,7 @@ printf(" biHeight %ld\n", h->biHeight); printf(" biPlanes %d\n", h->biPlanes); printf(" biBitCount %d\n", h->biBitCount); - printf(" biCompression %ld='%.4s'\n", h->biCompression, &h->biCompression); + printf(" biCompression %ld='%.4s'\n", h->biCompression, (const char*)&h->biCompression); printf(" biSizeImage %ld\n", h->biSizeImage); printf("===========================\n"); }