Turo Lamminen
2015-04-30 6c93be896ddf04dd3b3f21c07d6e6f1f0e16bde2

Fix incorrect printf format strings

1 files modified
4 ■■■■ changed files
ddsinfo.c 4 ●●●● patch | view | raw | blame | history
ddsinfo.c
@@ -57,7 +57,7 @@
        printf("texoffset: %u\n", (unsigned int)(texoffset));
        printf("texlen: %lu\n", texlen);
        printf("glfmt: 0x%x\n", glfmt);
        printf("width x height: %d x %d\n", w, h);
        printf("width x height: %u x %u\n", w, h);
        printf("miplevels: %d\n", miplevels);
        printf("\n");
@@ -73,7 +73,7 @@
            uintptr_t miptexoffset = ((const char *)(miptex)) - ((const char *)(tex));
            bool npot = !(isPow2(mipW) || isPow2(mipH));
            printf("%4d x %4d  %s", mipW, mipH, npot ? "NPOT  " : "      ");
            printf("%4u x %4u  %s", mipW, mipH, npot ? "NPOT  " : "      ");
            printf("miptexoffset: %8u  ", (unsigned int)(miptexoffset));
            printf("miptexlen: %8lu\n", miptexlen);
        }