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

Unified Diff: chrome/browser/safe_browsing/chunk_range.cc

Issue 2890: Include chrome/browser/SConscript in Linux build.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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 | « chrome/browser/safe_browsing/bloom_filter.cc ('k') | chrome/browser/safe_browsing/protocol_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/chunk_range.cc
===================================================================
--- chrome/browser/safe_browsing/chunk_range.cc (revision 2262)
+++ chrome/browser/safe_browsing/chunk_range.cc (working copy)
@@ -61,8 +61,7 @@
if (!result->empty())
result->append(",");
if (it->start() == it->stop()) {
- char num_buf[11]; // One 32 bit positive integer + NULL.
- _itoa_s(it->start(), num_buf, sizeof(num_buf), 10);
+ std::string num_buf = IntToString(it->start());
result->append(num_buf);
} else {
result->append(StringPrintf("%d-%d", it->start(), it->stop()));
« no previous file with comments | « chrome/browser/safe_browsing/bloom_filter.cc ('k') | chrome/browser/safe_browsing/protocol_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698