From 37e407d032658a4e48fa43638eddeb285c1785b6 Mon Sep 17 00:00:00 2001 From: T_chan Date: Tue, 25 Jan 2022 13:35:24 +0000 Subject: [PATCH] solve 4 warnings about printf & long unsigned values vs %d --- samples/depth_funcs_alpha_testing/gl_png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/depth_funcs_alpha_testing/gl_png.c b/samples/depth_funcs_alpha_testing/gl_png.c index 78298b3..686035c 100644 --- a/samples/depth_funcs_alpha_testing/gl_png.c +++ b/samples/depth_funcs_alpha_testing/gl_png.c @@ -181,9 +181,9 @@ int dtex_to_gl_texture(texture *tex, char* filename) { tex->blend_dest = GL_ONE_MINUS_SRC_ALPHA; strcpy(tex->path, filename); - printf("Texture size: %d x %d\n", image->sizeX, image->sizeY); + printf("Texture size: %lu x %lu\n", image->sizeX, image->sizeY); printf("Texture ratio: %d\n", ratio); - printf("Texture size: %d x %d\n", image->sizeX, image->sizeY); + printf("Texture size: %lu x %lu\n", image->sizeX, image->sizeY); printf("Texture %s loaded\n", tex->path); return(1);