Build ntdll with -DSTRICT.
diff --git a/loader/module.c b/loader/module.c
index fcfb756..e50c780 100644
--- a/loader/module.c
+++ b/loader/module.c
@@ -85,7 +85,7 @@
return exe_modref;
if (!HIWORD(hmod)) {
- ERR("tried to lookup 0x%04x in win32 module handler!\n",hmod);
+ ERR("tried to lookup 0x%p in win32 module handler!\n",hmod);
SetLastError( ERROR_INVALID_HANDLE );
return NULL;
}
@@ -987,7 +987,7 @@
}
else if ((hInstance = (HINSTANCE)GetLastError()) >= (HINSTANCE)32)
{
- FIXME("Strange error set by CreateProcess: %d\n", hInstance );
+ FIXME("Strange error set by CreateProcess: %p\n", hInstance );
hInstance = (HINSTANCE)11;
}
@@ -1262,7 +1262,7 @@
pwm->flags &= ~WINE_MODREF_DONT_RESOLVE_REFS;
PE_fixup_imports( pwm );
}
- TRACE("Already loaded module '%s' at 0x%08x, count=%d\n", filename, pwm->module, pwm->refCount);
+ TRACE("Already loaded module '%s' at 0x%p, count=%d\n", filename, pwm->module, pwm->refCount);
if (allocated_libdir)
{
HeapFree ( GetProcessHeap(), 0, (LPSTR)libdir );
@@ -1308,7 +1308,7 @@
if(pwm)
{
/* Initialize DLL just loaded */
- TRACE("Loaded module '%s' at 0x%08x\n", filename, pwm->module);
+ TRACE("Loaded module '%s' at 0x%p\n", filename, pwm->module);
if (!TRACE_ON(module))
TRACE_(loaddll)("Loaded module '%s' : %s\n", filename, filetype);
/* Set the refCount here so that an attach failure will */
@@ -1574,7 +1574,7 @@
}
if (HIWORD(hModule))
{
- WARN("hModule is Win32 handle (%08x)\n", hModule );
+ WARN("hModule is Win32 handle (%p)\n", hModule );
return (FARPROC16)0;
}
return GetProcAddress16( LOWORD(hModule), name );