Files
pkgsrc-ng/www/seamonkey/patches/patch-mozilla_media_libtheora_lib_info.c
2016-01-21 23:40:00 +01:00

14 lines
490 B
C

$NetBSD: patch-mozilla_media_libtheora_lib_info.c,v 1.1 2015/03/17 19:50:42 ryoon Exp $
--- mozilla/media/libtheora/lib/info.c.orig 2015-03-09 05:34:24.000000000 +0000
+++ mozilla/media/libtheora/lib/info.c
@@ -29,7 +29,7 @@
static int oc_tagcompare(const char *_s1,const char *_s2,int _n){
int c;
for(c=0;c<_n;c++){
- if(toupper(_s1[c])!=toupper(_s2[c]))return !0;
+ if(toupper((unsigned char)_s1[c])!=toupper((unsigned char)_s2[c]))return !0;
}
return _s1[c]!='=';
}