Files
2013-09-26 17:14:40 +02:00

16 lines
337 B
Plaintext

$NetBSD: patch-ae,v 1.3 2011/02/15 05:37:29 obache Exp $
* tolower needs unsigned char argument.
--- src/actioncompiler/compile.c.orig 2008-04-10 22:32:47.000000000 +0000
+++ src/actioncompiler/compile.c
@@ -595,7 +595,7 @@ void lower(char *s)
{
while(*s)
{
- *s = tolower(*s);
+ *s = tolower((unsigned char)*s);
++s;
}
}