diff options
author | Vinson Lee <[email protected]> | 2010-01-11 19:15:54 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-01-11 19:16:36 -0800 |
commit | f07e87ffba38524a87613d14d01344a3343ec6fb (patch) | |
tree | eb81e66048a37dfdf7f310e650cb50f9b08c0344 /progs/tests/getprocaddress.c | |
parent | b4bc20852921f42f0499a174602e87bc3d4495f3 (diff) |
progs/tests: Silence fprintf format warning.
Diffstat (limited to 'progs/tests/getprocaddress.c')
-rw-r--r-- | progs/tests/getprocaddress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/tests/getprocaddress.c b/progs/tests/getprocaddress.c index e699baf44bc..38ca7000df2 100644 --- a/progs/tests/getprocaddress.c +++ b/progs/tests/getprocaddress.c @@ -660,8 +660,8 @@ exercise_CompressedTextures(GLenum dimension) glGetTexLevelParameteriv(dimension, 0, GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB, &queryCompressedSize); if (queryCompressedSize != sizeof(compressedTexture)) { - fprintf(stderr, "%s: compressed 3D texture changed size: expected %d, actual %d\n", - __FUNCTION__, sizeof(compressedTexture), queryCompressedSize); + fprintf(stderr, "%s: compressed 3D texture changed size: expected %lu, actual %d\n", + __FUNCTION__, (unsigned long) sizeof(compressedTexture), queryCompressedSize); return GL_FALSE; } (*GetCompressedTexImageARB)(dimension, 0, queryCompressedData); |