commit | 6f3d16c64aee2ef0eb94aa0e4ab1ce53fd4a5579 | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Sat May 07 17:06:49 2005 +0000 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Sat May 07 17:06:49 2005 +0000 |
tree | 967bda38ba36c242b9304e22b8538b22acaddaa5 | |
parent | 42fa81275c67d7d1ad8d255120af0ffeeb46b963 [diff] [blame] |
assorted warning clean-ups for x86_64, etc (Mikko T.)
diff --git a/progs/samples/loadppm.c b/progs/samples/loadppm.c index b4b1b38..be056d6 100644 --- a/progs/samples/loadppm.c +++ b/progs/samples/loadppm.c
@@ -37,7 +37,7 @@ 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);