diff options
author | inmarket <inmarket@ugfx.org> | 2016-12-12 19:58:46 +1000 |
---|---|---|
committer | inmarket <inmarket@ugfx.org> | 2016-12-12 19:58:46 +1000 |
commit | 60b3fc076925c5cdbba041b122d3d1f44bcf7729 (patch) | |
tree | 8d1d7855bf938431b7cce91ad5c25df89af68c11 | |
parent | 43bcd7930b2bcf0f4d208716b5f11177a2a55bb3 (diff) | |
download | uGFX-60b3fc076925c5cdbba041b122d3d1f44bcf7729.tar.gz uGFX-60b3fc076925c5cdbba041b122d3d1f44bcf7729.tar.bz2 uGFX-60b3fc076925c5cdbba041b122d3d1f44bcf7729.zip |
Fix a win32.raw32 platform compile bug caused by the windows headers not being included
-rw-r--r-- | drivers/multiple/Win32/gdisp_lld_Win32.c | 4 | ||||
-rw-r--r-- | drivers/multiple/Win32/gdisp_lld_config.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/multiple/Win32/gdisp_lld_Win32.c b/drivers/multiple/Win32/gdisp_lld_Win32.c index 9f0bb397..7bb6d137 100644 --- a/drivers/multiple/Win32/gdisp_lld_Win32.c +++ b/drivers/multiple/Win32/gdisp_lld_Win32.c @@ -451,8 +451,8 @@ typedef struct winPriv { #endif } winPriv; -void gfxEmulatorSetParentWindow(HWND hwnd) { - hWndParent = hwnd; +void gfxEmulatorSetParentWindow(void *hwnd) { + hWndParent = (HWND)hwnd; } #if GFX_USE_GINPUT && GINPUT_NEED_MOUSE diff --git a/drivers/multiple/Win32/gdisp_lld_config.h b/drivers/multiple/Win32/gdisp_lld_config.h index 91891290..53f8bff7 100644 --- a/drivers/multiple/Win32/gdisp_lld_config.h +++ b/drivers/multiple/Win32/gdisp_lld_config.h @@ -51,7 +51,7 @@ // Passing a NULL will reset window creation to creating top level windows. // Note: In order to affect any static displays it must be called BEFORE gfxInit(). // Note: Creating a window under a parent causes the Mouse to be disabled by default (rather than enabled as for a top window) -void gfxEmulatorSetParentWindow(HWND hwnd); +void gfxEmulatorSetParentWindow(void *hwnd); #if GINPUT_NEED_MOUSE // This function allows you to inject mouse events into the ugfx mouse driver |