Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index e46fbba6474552121c7c2bcb105924276515658e..02024c1095be9237205d3dd7b003d0e0a22475c0 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -6307,7 +6307,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_StringParseInt) { |
SealHandleScope shs(isolate); |
CONVERT_ARG_CHECKED(String, s, 0); |
- CONVERT_SMI_ARG_CHECKED(radix, 1); |
+ CONVERT_NUMBER_CHECKED(int, radix, Int32, args[1]); |
s->TryFlatten(); |