diff options
| author | Marko Njezic <unknown> | 2012-03-01 13:38:41 +0100 | 
|---|---|---|
| committer | Marko Njezic <unknown> | 2012-03-01 13:38:41 +0100 | 
| commit | 397ffefa04cf7cdcbccec17512f3ac867d75707b (patch) | |
| tree | 9b598e1427ef9d59689d8d2297b8b3ac73347e06 | |
| parent | 0a7d4be1b8c9b60d44e1feae0be104fc9e315c7d (diff) | |
| download | scintilla-mirror-397ffefa04cf7cdcbccec17512f3ac867d75707b.tar.gz | |
Fix unsafe typecast. Bug #3495966.
| -rw-r--r-- | win32/PlatWin.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 53d94b258..15b3655bf 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1271,7 +1271,7 @@ void SurfaceD2D::Init(WindowID /* wid */) {  void SurfaceD2D::Init(SurfaceID sid, WindowID) {  	Release();  	SetScale(); -	pRenderTarget = reinterpret_cast<ID2D1HwndRenderTarget *>(sid); +	pRenderTarget = reinterpret_cast<ID2D1RenderTarget *>(sid);  }  void SurfaceD2D::InitPixMap(int width, int height, Surface *surface_, WindowID) { | 
