Don't convert DWORD to int.
authorbungeman <bungeman@google.com>
Sat, 19 Mar 2016 22:51:05 +0000 (15:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 19 Mar 2016 22:51:05 +0000 (15:51 -0700)
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

tools/CrashHandler.cpp

index 6707b65de44de21f89ecfaf45a5153f6163e5bde..542811674121ea552e5a12aa8b8e5bd01abc7c90 100644 (file)
 
         static const struct {
             const char* name;
-            int code;
+            const DWORD code;
         } kExceptions[] = {
         #define _(E) {#E, E}
             _(EXCEPTION_ACCESS_VIOLATION),