Index: test/cctest/test-debug.cc |
=================================================================== |
--- test/cctest/test-debug.cc (revision 3048) |
+++ test/cctest/test-debug.cc (working copy) |
@@ -3567,7 +3567,7 @@ |
return -1; |
} |
int res = -1; |
- sscanf(pos + strlen(value), "%d", &res); |
+ res = atoi(pos + strlen(value)); |
return res; |
} |
@@ -3580,7 +3580,7 @@ |
return -1; |
} |
int res = -1; |
- sscanf(pos + strlen(breakpoints), "%d", &res); |
+ res = atoi(pos + strlen(breakpoints)); |
return res; |
} |