[vlc-devel] commit: fixed warning about wrong datatypes (mdate(), pf_GetSystemInfo) ( André Weber )

git version control git at videolan.org
Thu Mar 13 19:25:58 CET 2008


vlc | branch: master | André Weber <atmo at videolan.org> | Thu Mar 13 19:31:36 2008 +0100| [104802fa1f8c3cf960f266f3cfbc12a6f6caa77a]

fixed warning about wrong datatypes (mdate(), pf_GetSystemInfo)

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

 src/misc/mtime.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/misc/mtime.c b/src/misc/mtime.c
index 078ef68..a06f021 100644
--- a/src/misc/mtime.c
+++ b/src/misc/mtime.c
@@ -228,8 +228,8 @@ mtime_t mdate( void )
         HINSTANCE h_Kernel32 = LoadLibraryA("kernel32.dll");
         if(h_Kernel32)
         {
-            void WINAPI (*pf_GetSystemInfo)(LPSYSTEM_INFO*);
-            pf_GetSystemInfo = (void WINAPI (*)(LPSYSTEM_INFO*))
+            void WINAPI (*pf_GetSystemInfo)(LPSYSTEM_INFO);
+            pf_GetSystemInfo = (void WINAPI (*)(LPSYSTEM_INFO))
                                 GetProcAddress(h_Kernel32, "GetSystemInfo");
             if(pf_GetSystemInfo)
             {




More information about the vlc-devel mailing list