blob: 4616cfbe021c486705fb2bb48e30cc77bca9c8df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ab,v 1.3 2013/11/08 13:10:16 wiz Exp $
--- Xtrans.c.orig 2013-11-03 02:10:11.000000000 +0000
+++ Xtrans.c
@@ -162,8 +162,8 @@ TRANS(SelectTransport) (const char *prot
protobuf[PROTOBUFSIZE-1] = '\0';
for (i = 0; i < PROTOBUFSIZE && protobuf[i] != '\0'; i++)
- if (isupper (protobuf[i]))
- protobuf[i] = tolower (protobuf[i]);
+ if (isupper ((unsigned char)protobuf[i]))
+ protobuf[i] = tolower ((unsigned char)protobuf[i]);
/* Look at all of the configured protocols */
|