summaryrefslogtreecommitdiff
path: root/www/firefox38/patches/patch-js_src_jit_MIR.cpp
blob: 11aa84cba0b43f41433f2dc961c4cc0fd24f226b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-js_src_jit_MIR.cpp,v 1.1 2015/07/09 14:13:52 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&