diff options
-rw-r--r-- | GNUmakefile | 2 | ||||
-rw-r--r-- | rd/read-tiff.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 5d35341..466e6f2 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -154,7 +154,7 @@ ida : LDLIBS += -lXm -lXpm -lXt -lXext -lX11 ida : LDLIBS += -ljpeg -lexif -lm # RegEdit.c is good old K&R ... -RegEdit.o : CFLAGS += -Wno-missing-prototypes -Wno-strict-prototypes +RegEdit.o : CFLAGS += -Wno-missing-prototypes -Wno-strict-prototypes -Wno-maybe-uninitialized ida: $(OBJS_IDA) $(OBJS_READER) $(OBJS_WRITER) diff --git a/rd/read-tiff.c b/rd/read-tiff.c index 3f75b83..b88b10c 100644 --- a/rd/read-tiff.c +++ b/rd/read-tiff.c @@ -55,7 +55,7 @@ tiff_init(FILE *fp, char *filename, unsigned int page, "nsamples=%d, depth=%d fo=%d pm=%d scanline=%" PRId32 "\n", h->width,h->height,h->config,h->nsamples,h->depth, h->fillorder,h->photometric, - TIFFScanlineSize(h->tif)); + (uint32_t)TIFFScanlineSize(h->tif)); if (PHOTOMETRIC_PALETTE == h->photometric || PHOTOMETRIC_YCBCR == h->photometric || |