summaryrefslogtreecommitdiff
path: root/external/dtoa/ubsan.patch.0
blob: de39d41aca683859e9191ab7fdf8f78c0194e268 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/dtoa.c
+++ src/dtoa.c
@@ -3618,7 +3618,7 @@
 			while(c == '0')
 				c = *++s;
 			if (c > '0' && c <= '9') {
-				L = c - '0';
+				ULong L = c - '0';
 				s1 = s;
 				while((c = *++s) >= '0' && c <= '9')
 					L = 10*L + c - '0';