blob: 963221e915d4fa7b6ee348bed87879d6209f8ccc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ac,v 1.2 2005/04/13 16:45:46 rillig Exp $
--- logging.c.orig 2005-04-06 23:11:53.000000000 +0200
+++ logging.c 2005-04-06 23:12:15.000000000 +0200
@@ -361,7 +361,7 @@
char c;
s++;
size = 0;
- if (*s) switch (c = *s++, tolower(c)) {
+ if (*s) switch (c = *s++, tolower((unsigned char)c)) {
case 'y':
size = strftime(buf, sizeof(buf), "%Y", tm);
break;
|