aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-03-01 14:10:23 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-01 14:10:23 -0800
commit75467865f5962d2d1e1378ff66e92d46e6015139 (patch)
tree267507e386094a40e79c10b2b3d8a4f63697b7e8 /dm/DM.cpp
parent09bd2c09b6b36737df289fdb5fa38c280162cbb8 (diff)
Fix MSVC 2015 compiler complaint
This is/was slowly, but surely, driving me insane: DM.cpp(150): warning C4838: conversion from 'DWORD' to 'int' requires a narrowing conversion GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1749363002 Review URL: https://codereview.chromium.org/1749363002
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 0190262787..2eb5593e6c 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -138,7 +138,7 @@ static std::atomic<bool> in_signal_handler{false};
static LONG WINAPI handler(EXCEPTION_POINTERS* e) {
static const struct {
const char* name;
- int code;
+ DWORD code;
} kExceptions[] = {
#define _(E) {#E, E}
_(EXCEPTION_ACCESS_VIOLATION),