summarylogtreecommitdiffstats
path: root/gcc15.patch
blob: a835de8fce4891ed368852a8d70bc43a23912ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- quickjs.orig.c	2025-05-02 05:30:10.000000000 +0800
+++ quickjs.c	2025-05-03 21:32:08.225969905 +0800
@@ -11724,7 +11724,12 @@
 }
 
 /* 2 <= base <= 36 */
-static char const digits[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
+static char const digits[36] = {
+    '0','1','2','3','4','5','6','7','8','9',
+    'a','b','c','d','e','f','g','h','i','j',
+    'k','l','m','n','o','p','q','r','s','t',
+    'u','v','w','x','y','z'
+};
 
 /* special version going backwards */
 /* XXX: use dtoa.c */