summaryrefslogtreecommitdiff
path: root/mail/ripmime/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'mail/ripmime/patches/patch-ac')
-rw-r--r--mail/ripmime/patches/patch-ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/ripmime/patches/patch-ac b/mail/ripmime/patches/patch-ac
new file mode 100644
index 00000000000..53cf67d890f
--- /dev/null
+++ b/mail/ripmime/patches/patch-ac
@@ -0,0 +1,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)
+ {