[barcode] Prototype buglet in code128.c
Cloyce D. Spradling
cloyce@headgear.org
Fri, 9 Nov 2001 18:06:48 -0600
--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
GCC doesn't complain about this, but Sun Forte 6u2 does. The trivial patch
is attached.
--
Cloyce
--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="barcode-0.97-proto-buglet.diff"
diff -ur barcode-0.97/code128.c barcode-0.97.str/code128.c
--- barcode-0.97/code128.c Tue Nov 7 11:52:15 2000
+++ barcode-0.97.str/code128.c Fri Nov 9 11:24:40 2001
@@ -72,7 +72,7 @@
* code 128-b includes all printable ascii chars
*/
-int Barcode_128b_verify(char *text)
+int Barcode_128b_verify(unsigned char *text)
{
if (!strlen(text))
return -1;
--vtzGhvizbBRQ85DL--