diff options
Diffstat (limited to 'win/rfb_win32/DynamicFn.cxx')
-rw-r--r-- | win/rfb_win32/DynamicFn.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/DynamicFn.cxx b/win/rfb_win32/DynamicFn.cxx index 033971d3..97d17ff7 100644 --- a/win/rfb_win32/DynamicFn.cxx +++ b/win/rfb_win32/DynamicFn.cxx @@ -29,12 +29,12 @@ static LogWriter vlog("DynamicFn"); DynamicFnBase::DynamicFnBase(const TCHAR* dllName, const char* fnName) : fnPtr(0), dllHandle(0) { dllHandle = LoadLibrary(dllName); if (!dllHandle) { - vlog.info("DLL %s not found (%d)", (const char*)CStr(dllName), GetLastError()); + vlog.info("DLL %s not found (%lu)", (const char*)CStr(dllName), GetLastError()); return; } fnPtr = (void*) GetProcAddress(dllHandle, fnName); if (!fnPtr) - vlog.info("proc %s not found in %s (%d)", fnName, (const char*)CStr(dllName), GetLastError()); + vlog.info("proc %s not found in %s (%lu)", fnName, (const char*)CStr(dllName), GetLastError()); } DynamicFnBase::~DynamicFnBase() { |