aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/CrashHandler.cpp
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2016-03-19 15:51:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-19 15:51:05 -0700
commit4ab57e0097b9b1fcdea7a49a01ff3d9ad993dfee (patch)
tree78cc7108e7c82854c160e67e58a9e2c3a13648cd /tools/CrashHandler.cpp
parent68c14d9b3244ef9d58727ff11f2742be9236f46e (diff)
Don't convert DWORD to int.
DWORD is unsigned, and might not be an int. vs2015u2 complains. BUG=skia:4553 TBR=mtklein This is pretty trivial and makes the vs2015 bot compile. Review URL: https://codereview.chromium.org/1818713002
Diffstat (limited to 'tools/CrashHandler.cpp')
-rw-r--r--tools/CrashHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/CrashHandler.cpp b/tools/CrashHandler.cpp
index 6707b65de4..5428116741 100644
--- a/tools/CrashHandler.cpp
+++ b/tools/CrashHandler.cpp
@@ -101,7 +101,7 @@
static const struct {
const char* name;
- int code;
+ const DWORD code;
} kExceptions[] = {
#define _(E) {#E, E}
_(EXCEPTION_ACCESS_VIOLATION),