aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-05-29 09:14:44 +1000
committerNeil <nyamatongwe@gmail.com>2019-05-29 09:14:44 +1000
commitd95f9b511b3c1b21da85f809fb6b21431f3d03dc (patch)
tree1b55e0546c99d762fd36482c9cebdbff09728c8f /win32/PlatWin.cxx
parent929bc6ea4a5a696ac46bba0a904e4a81e2668075 (diff)
downloadscintilla-mirror-d95f9b511b3c1b21da85f809fb6b21431f3d03dc.tar.gz
Bug [#2104]. Use 'l' long format length sub-specifier for HRESULT as it is long.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 28587b917..27e8293c9 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -1487,7 +1487,7 @@ void SurfaceD2D::Copy(PRectangle rc, Point from, Surface &surfaceSource) {
D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR, rcSource);
hr = pRenderTarget->Flush();
if (FAILED(hr)) {
- Platform::DebugPrintf("Failed Flush 0x%x\n", hr);
+ Platform::DebugPrintf("Failed Flush 0x%lx\n", hr);
}
pBitmap->Release();
}