aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2015-01-29 07:44:24 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-29 07:44:24 -0800
commit5d8388b667d7b794cb83a66f04154f672207e3e2 (patch)
tree316beb9126ac486a50c37102adefb63cbb425231 /tools
parent81aca547caeb6d2a526e474eb7e49f234628966e (diff)
More win64 warning fixes.
TBR=bsalomon@google.com NOTREECHECKS=true Review URL: https://codereview.chromium.org/887713002
Diffstat (limited to 'tools')
-rw-r--r--tools/win_dbghelp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/win_dbghelp.cpp b/tools/win_dbghelp.cpp
index ebdbaefcfa..57389b430d 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);