Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1061)

Unified Diff: test/cctest/test-debug.cc

Issue 264033: Change sscanf to atoi in test-debug.cc to make lint happy. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698