From: DRC Date: Sat, 6 Feb 2016 22:03:57 +0000 (-0600) Subject: Fix Visual C++ compiler warnings X-Git-Tag: 1.4.90~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d623257545f8e24f837ee53502a9ebddd786fc4;p=libjpeg-turbo Fix Visual C++ compiler warnings Somehow this got reverted with aa769febf25c64f115c2a237516b0c7d65f651cd. Oops. --- diff --git a/rdppm.c b/rdppm.c index f496ab3..a249142 100644 --- a/rdppm.c +++ b/rdppm.c @@ -99,7 +99,8 @@ read_pbm_integer (j_compress_ptr cinfo, FILE * infile, unsigned int maxval) /* Note that on a 16-bit-int machine, only values up to 64k can be read. */ /* This should not be a problem in practice. */ { - register int ch, val; + register int ch; + register unsigned int val; /* Skip any leading whitespace */ do {