From 6f3d16c64aee2ef0eb94aa0e4ab1ce53fd4a5579 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 7 May 2005 17:06:49 +0000 Subject: assorted warning clean-ups for x86_64, etc (Mikko T.) --- progs/samples/loadppm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/samples/loadppm.c') diff --git a/progs/samples/loadppm.c b/progs/samples/loadppm.c index b4b1b387fd5..be056d62940 100644 --- a/progs/samples/loadppm.c +++ b/progs/samples/loadppm.c @@ -37,7 +37,7 @@ static PPMImage *LoadPPM(const char *filename) exit(1); } - if (fscanf(fp, "%d %d", &result->sizeX, &result->sizeY) != 2) + if (fscanf(fp, "%lu %lu", &result->sizeX, &result->sizeY) != 2) { fprintf(stderr, "Error loading image `%s'\n", filename); exit(1); -- cgit v1.2.3