summaryrefslogtreecommitdiff
path: root/security/ipv6-toolkit/patches/patch-aa
blob: 1cdad13e7a4b3a275493510b575ec7ceb5dd3a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.2 2013/02/16 22:39:46 agc Exp $

quieten warnings on ctype macros

--- tools/scan6.c.orig	2013-02-16 12:18:59.000000000 -0800
+++ tools/scan6.c	2013-02-15 07:33:33.000000000 -0800
@@ -2197,7 +2197,7 @@
 		j=0;
 
 		while(j < buscars){
-			if(toupper((int)buscar[j]) != toupper((int)buffer[i+j]))
+			if(toupper((int)(unsigned char)buscar[j]) != toupper((int)(unsigned char)buffer[i+j]))
 				break;
 
 			j++;