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
This commit is contained in:
robertphillips 2016-03-01 14:10:23 -08:00 committed by Commit bot
parent 09bd2c09b6
commit 75467865f5

View File

@ -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),