summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'comms/fidogate/patches/patch-bb')
-rw-r--r--comms/fidogate/patches/patch-bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/fidogate/patches/patch-bb b/comms/fidogate/patches/patch-bb
new file mode 100644
index 00000000000..778a82c8d26
--- /dev/null
+++ b/comms/fidogate/patches/patch-bb
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.1 2005/12/29 23:31:36 joerg Exp $
+
+--- src/charset/charsetc.c.orig 2005-12-30 00:21:07.000000000 +0100
++++ src/charset/charsetc.c
+@@ -79,7 +79,7 @@ int charset_parse_c(char *s)
+ s++;
+ while(is_xdigit(s[0]) && n<2)
+ {
+- s[0] = toupper(s[0]);
++ s[0] = toupper((unsigned char)s[0]);
+ val = val * 16 + s[0] - (s[0]>'9' ? 'A'-10 : '0');
+ s++;
+ n++;