Files
pkgsrc-ng/comms/fidogate/patches/patch-av
2013-09-26 17:14:40 +02:00

23 lines
596 B
Plaintext

$NetBSD: patch-av,v 1.2 2009/12/18 01:09:23 abs Exp $
--- src/common/areas.c.orig 2004-08-22 20:19:11.000000000 +0000
+++ src/common/areas.c
@@ -369,7 +369,7 @@ static Area *area_build(Area *pa, char *
if(areas_x_a[(unsigned char)*q])
*p = areas_x_a[(unsigned char)*q];
else
- *p = tolower(*q);
+ *p = tolower((unsigned char)*q);
*p = 0;
}
@@ -386,7 +386,7 @@ static Area *area_build(Area *pa, char *
if(areas_x_g[(unsigned char)*q])
*p = areas_x_g[(unsigned char)*q];
else
- *p = toupper(*q);
+ *p = toupper((unsigned char)*q);
*p = 0;
}