diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-04-01 11:24:41 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-04-01 11:24:41 +0200 |
commit | 45a153b46c280b51471ec12854cce623ef8f92be (patch) | |
tree | f4387c5c580e750919d0e5106327df0d0c54a645 /console/showriff.c | |
parent | c75c37f7104480a0d386a9e0caa8a72335395503 (diff) |
v3.95
Diffstat (limited to 'console/showriff.c')
-rw-r--r-- | console/showriff.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/console/showriff.c b/console/showriff.c index aa9d093..1279425 100644 --- a/console/showriff.c +++ b/console/showriff.c @@ -335,9 +335,9 @@ static void dump_jpeg(unsigned char *buf, int len) static unsigned char* off_t_to_char(off_t val, int base, int len) { - static const char digit[] = "0123456789abcdef"; - static char outbuf[32]; - char *p = outbuf + sizeof(outbuf); + static const unsigned char digit[] = "0123456789abcdef"; + static unsigned char outbuf[32]; + unsigned char *p = outbuf + sizeof(outbuf); int i; *(--p) = 0; @@ -375,7 +375,7 @@ static boolean ProcessChunk(FILE* f, size_t filepos, size_t filesize, FOURCC DesiredTag, int RekDepth, DWORD* chunksize) { - char buf[BUFSIZE]; + unsigned char buf[BUFSIZE]; int buflen; char tagstr[5]; /* FOURCC of chunk converted to string */ FOURCC chunkid; /* read FOURCC of chunk */ |