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

Unified Diff: import/cross/raw_data.cc

Issue 159168: This fixes a number of things that are warnings in the Mac compiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 5 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
Index: import/cross/raw_data.cc
===================================================================
--- import/cross/raw_data.cc (revision 21208)
+++ import/cross/raw_data.cc (working copy)
@@ -396,7 +396,7 @@
String filename;
// try to retain the original file suffix (.jpg, etc.)
- int dot_position = uri.rfind('.');
+ std::string::size_type dot_position = uri.rfind('.');
if (dot_position != std::string::npos) {
filename = uuid_string + uri.substr(dot_position);
} else {

Powered by Google App Engine
This is Rietveld 408576698