pkgsrc-ng/security/tor-browser/patches/patch-js_src_jit_MIR.cpp
2016-11-18 22:39:22 +01:00

14 lines
452 B
C++

$NetBSD: patch-js_src_jit_MIR.cpp,v 1.1 2016/02/14 07:30:54 ryoon Exp $
--- js/src/jit/MIR.cpp.orig 2015-05-04 00:43:27.000000000 +0000
+++ js/src/jit/MIR.cpp
@@ -71,7 +71,7 @@ MDefinition::PrintOpcodeName(FILE* fp, M
const char* name = names[op];
size_t len = strlen(name);
for (size_t i = 0; i < len; i++)
- fprintf(fp, "%c", tolower(name[i]));
+ fprintf(fp, "%c", tolower(((unsigned char)name[i])));
}
const Value&