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
commit378921dae585d088c0372f47e28c8f243f94e15e (patch)
tree73fc7405bd299f31384c4cde8951635b76a4206b /win32/PlatWin.cxx
parent6198187b37e9358f2134041157b8237a676dd647 (diff)
downloadscintilla-mirror-378921dae585d088c0372f47e28c8f243f94e15e.tar.gz
Backport: Bug [#2104]. Use 'l' long format length sub-specifier for HRESULT as it is long.
Backport of changeset 7539:b22c2d7b0301.
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 523354533..e70b8c365 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -1470,7 +1470,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();
}