[Bf-blender-cvs] [a6e31482e96] master: Fix return value of WTPacketsGet.

Nicholas Rishel noreply at git.blender.org
Sat Oct 31 00:32:26 CET 2020


Commit: a6e31482e9660f455090ef1f7b9727f2d1dcd9e0
Author: Nicholas Rishel
Date:   Sat May 23 16:14:30 2020 -0700
Branches: master
https://developer.blender.org/rBa6e31482e9660f455090ef1f7b9727f2d1dcd9e0

Fix return value of WTPacketsGet.

Signed-off-by: Nicholas Rishel <rishel.nick at gmail.com>

===================================================================

M	intern/ghost/intern/GHOST_WindowWin32.h

===================================================================

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);



More information about the Bf-blender-cvs mailing list