From 9c5b83802b99215a2850352040c949b2acf98e8a Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 31 May 2006 12:01:57 +0000 Subject: [PATCH] use unsigned char to shut up Sun's cc --- lib/gvc/gvusershape.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/gvc/gvusershape.c b/lib/gvc/gvusershape.c index 4d9861f5a..d9ee8a37d 100644 --- a/lib/gvc/gvusershape.c +++ b/lib/gvc/gvusershape.c @@ -141,12 +141,13 @@ static void bmp_size (usershape_t *us) { } static void jpeg_size (usershape_t *us) { - unsigned int marker, length, size_x, size_y, junk; + unsigned char marker; + unsigned int length, size_x, size_y, junk; /* These are the markers that follow 0xff in the file. * Other markers implicitly have a 2-byte length field that follows. */ - static char standalone_markers [] = { + static unsigned char standalone_markers [] = { 0x01, /* Temporary */ 0xd0, 0xd1, 0xd2, 0xd3, /* Reset */ 0xd4, 0xd5, 0xd6, -- 2.40.0