summaryrefslogtreecommitdiff
path: root/security/putty/patches/patch-ag
blob: a3804667267770356a3312b09b00eca5c9ce5ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.2 2005/04/13 16:45:46 rillig Exp $

--- terminal.c.orig	2005-04-06 23:15:37.000000000 +0200
+++ terminal.c	2005-04-06 23:15:48.000000000 +0200
@@ -5818,7 +5818,7 @@
 		if (modifiers & PKM_CONTROL)
 		    c &= 0x1f;
 		else if (modifiers & PKM_SHIFT)
-		    c = toupper(c);
+		    c = toupper((unsigned char)c);
 	    }
 	    *p++ = c;
 	    goto done;