From a6e31482e9660f455090ef1f7b9727f2d1dcd9e0 Mon Sep 17 00:00:00 2001 From: Nicholas Rishel Date: Sat, 23 May 2020 16:14:30 -0700 Subject: Fix return value of WTPacketsGet. Signed-off-by: Nicholas Rishel --- intern/ghost/intern/GHOST_WindowWin32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern') diff --git a/intern/ghost/intern/GHOST_WindowWin32.h b/intern/ghost/intern/GHOST_WindowWin32.h index 913d75b1708..29e8de31699 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.h +++ b/intern/ghost/intern/GHOST_WindowWin32.h @@ -52,7 +52,7 @@ typedef BOOL(API *GHOST_WIN32_WTGet)(HCTX, LPLOGCONTEXTA); typedef BOOL(API *GHOST_WIN32_WTSet)(HCTX, LPLOGCONTEXTA); typedef HCTX(API *GHOST_WIN32_WTOpen)(HWND, LPLOGCONTEXTA, BOOL); typedef BOOL(API *GHOST_WIN32_WTClose)(HCTX); -typedef BOOL(API *GHOST_WIN32_WTPacketsGet)(HCTX, int, LPVOID); +typedef int(API *GHOST_WIN32_WTPacketsGet)(HCTX, int, LPVOID); typedef int(API *GHOST_WIN32_WTQueueSizeGet)(HCTX); typedef BOOL(API *GHOST_WIN32_WTQueueSizeSet)(HCTX, int); typedef BOOL(API *GHOST_WIN32_WTEnable)(HCTX, BOOL); -- cgit v1.2.3