[vlc-commits] keystore: fix compilation with MSVC

Steve Lhomme git at videolan.org
Tue Nov 15 17:21:34 CET 2016


vlc | branch: master | Steve Lhomme <slhomme at matroska.org> | Tue Nov 15 17:03:16 2016 +0100| [c731e9fd559a223274f85151db728e540f1e234f] | committer: Hugo Beauzée-Luyssen

keystore: fix compilation with MSVC

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 modules/keystore/file_crypt_win32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/keystore/file_crypt_win32.c b/modules/keystore/file_crypt_win32.c
index 2d4cf1f..9a7b387 100644
--- a/modules/keystore/file_crypt_win32.c
+++ b/modules/keystore/file_crypt_win32.c
@@ -28,8 +28,8 @@
 #include <windows.h>
 #include <wincrypt.h>
 
-typedef WINBOOL WINAPI (*ProcessFunc)(DATA_BLOB*, LPCWSTR, DATA_BLOB*, PVOID, CRYPTPROTECT_PROMPTSTRUCT*,
-                                      DWORD, DATA_BLOB*);
+typedef BOOL (WINAPI *ProcessFunc)(DATA_BLOB*, LPCWSTR, DATA_BLOB*, PVOID,
+                                   CRYPTPROTECT_PROMPTSTRUCT*, DWORD, DATA_BLOB*);
 
 static size_t Process(const uint8_t *p_src, size_t i_src_len, uint8_t **pp_dst, ProcessFunc pf_process)
 {



More information about the vlc-commits mailing list