summaryrefslogtreecommitdiff
path: root/security/putty/patches/patch-aj
blob: 4a39e45e50ec857f256862e1408dc607321157ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aj,v 1.1 2005/04/06 21:51:13 xtraeme Exp $

--- ../cmdgen.c.orig	2005-04-06 23:30:02.000000000 +0200
+++ ../cmdgen.c	2005-04-06 23:30:15.000000000 +0200
@@ -114,7 +114,7 @@
 void showversion(void)
 {
     char *verstr = dupstr(ver);
-    verstr[0] = tolower(verstr[0]);
+    verstr[0] = tolower((int)verstr[0]);
     printf("PuTTYgen %s\n", verstr);
     sfree(verstr);
 }