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

Unified Diff: tools/win_dbghelp.cpp

Issue 887713002: More win64 warning fixes. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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: tools/win_dbghelp.cpp
diff --git a/tools/win_dbghelp.cpp b/tools/win_dbghelp.cpp
index ebdbaefcfa2c92f6271f4afeece63f7328fd3d69..57389b430d508f02559c479b37ac7f746df4225e 100644
--- a/tools/win_dbghelp.cpp
+++ b/tools/win_dbghelp.cpp
@@ -209,14 +209,14 @@ void setUpDebuggingFromArgs(const char* vargs0) {
i -= 4;
}
- int pos_period = i;
+ size_t pos_period = i;
// Find last \ in path - this is Windows!
while (i >= 0 && vargs0[i] != '\\') {
i--;
}
- int pos_last_slash = i;
+ size_t pos_last_slash = i;
char app_name[MAX_PATH];
strncpy(app_name, vargs0 + pos_last_slash + 1, pos_period - pos_last_slash - 1);
« 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