diff options
Diffstat (limited to 'win32/ScintillaWin.cxx')
| -rw-r--r-- | win32/ScintillaWin.cxx | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index c15986572..a11ac94a1 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -570,7 +570,7 @@ void ScintillaWin::EnsureRenderTarget(HDC hdc) {  			if (SUCCEEDED(hr)) {  				pRenderTarget = pDCRT;  			} else { -				Platform::DebugPrintf("Failed CreateDCRenderTarget 0x%x\n", hr); +				Platform::DebugPrintf("Failed CreateDCRenderTarget 0x%lx\n", hr);  				pRenderTarget = nullptr;  			} @@ -586,7 +586,7 @@ void ScintillaWin::EnsureRenderTarget(HDC hdc) {  			if (SUCCEEDED(hr)) {  				pRenderTarget = pHwndRenderTarget;  			} else { -				Platform::DebugPrintf("Failed CreateHwndRenderTarget 0x%x\n", hr); +				Platform::DebugPrintf("Failed CreateHwndRenderTarget 0x%lx\n", hr);  				pRenderTarget = nullptr;  			}  		} @@ -609,7 +609,7 @@ void ScintillaWin::EnsureRenderTarget(HDC hdc) {  		GetClientRect(MainHWND(), &rcWindow);  		const HRESULT hr = static_cast<ID2D1DCRenderTarget*>(pRenderTarget)->BindDC(hdc, &rcWindow);  		if (FAILED(hr)) { -			Platform::DebugPrintf("BindDC failed 0x%x\n", hr); +			Platform::DebugPrintf("BindDC failed 0x%lx\n", hr);  			DropRenderTarget();  		}  	} | 
