Commit 3aaa04a1 authored by whesse@chromium.org's avatar whesse@chromium.org

Change sscanf to atoi in test-debug.cc to make lint happy.

Review URL: http://codereview.chromium.org/264033

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3049 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 586f94f2
......@@ -3567,7 +3567,7 @@ int GetEvaluateIntResult(char *message) {
return -1;
}
int res = -1;
sscanf(pos + strlen(value), "%d", &res);
res = atoi(pos + strlen(value));
return res;
}
......@@ -3580,7 +3580,7 @@ int GetBreakpointIdFromBreakEventMessage(char *message) {
return -1;
}
int res = -1;
sscanf(pos + strlen(breakpoints), "%d", &res);
res = atoi(pos + strlen(breakpoints));
return res;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment