Commit 104802fa authored by André Weber's avatar André Weber

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

parent 0305cdac
...@@ -228,8 +228,8 @@ mtime_t mdate( void ) ...@@ -228,8 +228,8 @@ mtime_t mdate( void )
HINSTANCE h_Kernel32 = LoadLibraryA("kernel32.dll"); HINSTANCE h_Kernel32 = LoadLibraryA("kernel32.dll");
if(h_Kernel32) if(h_Kernel32)
{ {
void WINAPI (*pf_GetSystemInfo)(LPSYSTEM_INFO*); void WINAPI (*pf_GetSystemInfo)(LPSYSTEM_INFO);
pf_GetSystemInfo = (void WINAPI (*)(LPSYSTEM_INFO*)) pf_GetSystemInfo = (void WINAPI (*)(LPSYSTEM_INFO))
GetProcAddress(h_Kernel32, "GetSystemInfo"); GetProcAddress(h_Kernel32, "GetSystemInfo");
if(pf_GetSystemInfo) if(pf_GetSystemInfo)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment