summaryrefslogtreecommitdiff
path: root/lib/isc/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isc/string.c')
-rw-r--r--lib/isc/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/isc/string.c b/lib/isc/string.c
index 9de2b817..2a1e557b 100644
--- a/lib/isc/string.c
+++ b/lib/isc/string.c
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: string.c,v 1.6.164.4 2004/03/16 05:50:24 marka Exp $ */
+/* $Id: string.c,v 1.6.164.5 2004/09/16 01:00:58 marka Exp $ */
#include <config.h>
@@ -60,7 +60,7 @@ isc_string_touint64(char *source, char **end, int base) {
tmp = 0;
while ((c = *s) != 0) {
- c = tolower(c);
+ c = tolower(c&0xff);
/* end ? */
if ((o = strchr(digits, c)) == NULL) {
*end = s;