summaryrefslogtreecommitdiff
path: root/security/putty/patches/patch-ag
blob: 61ecc5e000ae2971075ca4738f643e837667b6e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.1 2005/04/06 21:51:13 xtraeme 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((int)c);
 	    }
 	    *p++ = c;
 	    goto done;