From 75467865f5962d2d1e1378ff66e92d46e6015139 Mon Sep 17 00:00:00 2001 From: robertphillips Date: Tue, 1 Mar 2016 14:10:23 -0800 Subject: 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 --- dm/DM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dm/DM.cpp') 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 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), -- cgit v1.2.3