jbig2dec
Ralph Giles <[email protected]> Wed, 14 Aug 2002 03:31:10 -0700
| Newsgroups | gmane.comp.printing.ghostscript.jbig2dec.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jbig2dec/jbig2dec
In directory usw-pr-cvs1:/tmp/cvs-serv10754
Modified Files:
sha1.c
Log Message:
Declare the test vector (strings) as char instead of unsigned char. We already cast to (uint8_t*) before passing to the hash routines, and the declaration caused a signed/unsigned warning in strlen() on some systems. Thanks to Tom Kacvinsky for this one.
Index: sha1.c
===================================================================
RCS file: /cvsroot/jbig2dec/jbig2dec/sha1.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sha1.c 14 Aug 2002 10:22:56 -0000 1.7
+++ sha1.c 14 Aug 2002 10:31:08 -0000 1.8
@@ -308,7 +308,7 @@
#ifdef TEST
-static unsigned char *test_data[] = {
+static char *test_data[] = {
"abc",
"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
"A million repetitions of 'a'"};