Changeset 36312

Show
Ignore:
Timestamp:
12/29/09 23:51:47 (5 years ago)
Author:
saturday06
Message:

wswswsws

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-cplusplus/i3/trunk/src/gui-windows/Gui.cpp

    r36210 r36312  
    3737#ifndef _WIN32_WCE 
    3838#define SET_DLL_ADDRESS(module, name) \ 
    39         *((void**)&i3::dll.dll_##name) = (void*)GetProcAddress(module, #name); 
     39        *(uintptr_t*)(&i3::dll.dll_##name) = (uintptr_t)GetProcAddress(module, #name); 
    4040#else 
    4141#define SET_DLL_ADDRESS(module, name) \ 
    42         *((void**)&i3::dll.dll_##name) = (void*)GetProcAddress(module, _T(#name)); 
     42        *(uintptr_t*)(&i3::dll.dll_##name) = (uintptr_t)GetProcAddress(module, _T(#name)); 
    4343#endif 
    4444