[vlc-commits] winvlc: Fix function pointer cast syntax

Hugo Beauzée-Luyssen git at videolan.org
Fri Oct 24 17:12:22 CEST 2014


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Oct 22 15:30:09 2014 +0200| [b47e3aa0324825cd208939f31ca23af27990118c] | committer: Hugo Beauzée-Luyssen

winvlc: Fix function pointer cast syntax

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b47e3aa0324825cd208939f31ca23af27990118c
---

 bin/winvlc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index 7fdf8dd..640ef09 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -90,13 +90,13 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
         BOOL (WINAPI * mySetDllDirectoryA)(const char* lpPathName);
 # define PROCESS_DEP_ENABLE 1
 
-        mySetProcessDEPPolicy = (BOOL WINAPI (*)(DWORD))
+        mySetProcessDEPPolicy = (BOOL (WINAPI *)(DWORD))
                             GetProcAddress(h_Kernel32, "SetProcessDEPPolicy");
         if(mySetProcessDEPPolicy)
             mySetProcessDEPPolicy(PROCESS_DEP_ENABLE);
 
         /* Do NOT load any library from cwd. */
-        mySetDllDirectoryA = (BOOL WINAPI (*)(const char*))
+        mySetDllDirectoryA = (BOOL (WINAPI *)(const char*))
                             GetProcAddress(h_Kernel32, "SetDllDirectoryA");
         if(mySetDllDirectoryA)
             mySetDllDirectoryA("");



More information about the vlc-commits mailing list