blob: 53cf67d890faf3387c6b4d104b8de89822c92c14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ac,v 1.1 2013/07/21 10:58:49 shattered Exp $
Avoid compiler warning.
--- ripOLE/pldstr.c.orig 2008-10-31 16:17:32.000000000 +0000
+++ ripOLE/pldstr.c
@@ -237,8 +237,8 @@ int PLD_strncasecmp( char *s1, char *s2,
while(n > 0)
{
- c1 = tolower(*ds1);
- c2 = tolower(*ds2);
+ c1 = tolower((int)*ds1);
+ c2 = tolower((int)*ds2);
if (c1 == c2)
{
|