X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9317fd47263a9521466156d7bf0f7988000bf15..37b8e6798782278fdfe4f3c1291aaff55cdbb8c9:/src/msw/metafile.cpp diff --git a/src/msw/metafile.cpp b/src/msw/metafile.cpp index eb13f6384f..f8bea1184f 100644 --- a/src/msw/metafile.cpp +++ b/src/msw/metafile.cpp @@ -490,8 +490,8 @@ bool wxMetafileDataObject::SetData(size_t WXUNUSED(len), const void *buf) wxMetafile mf; mf.SetWindowsMappingMode(mfpict->mm); - int w = mfpict->xExt, - h = mfpict->yExt; + LONG w = mfpict->xExt, + h = mfpict->yExt; if ( mfpict->mm == MM_ANISOTROPIC ) { // in this case xExt and yExt contain suggested size in HIMETRIC units