diff --git a/src/utility.cpp b/src/utility.cpp index e3c32fe4..c431b7f5 100644 --- a/src/utility.cpp +++ b/src/utility.cpp @@ -569,7 +569,7 @@ BOOL PatchImport (HMODULE importmodule, moduleentry_t *patchModule) DbgReport(L"Hook dll \"%S\" import %S!%S()\n", strrchr(pszBuffer, '\\') + 1, patchModule->exportModuleName, importname); } else { - DbgReport(L"Hook dll \"%S\" import %S!%zu()\n", + DbgReport(L"Hook dll \"%S\" import %S!%Iu()\n", strrchr(pszBuffer, '\\') + 1, patchModule->exportModuleName, importname); } #endif @@ -878,7 +878,7 @@ VOID RestoreImport (HMODULE importmodule, moduleentry_t* module) DbgReport(L"UnHook dll \"%S\" import %S!%S()\n", strrchr(pszBuffer, '\\') + 1, module->exportModuleName, importname); } else { - DbgReport(L"UnHook dll \"%S\" import %S!%zu()\n", + DbgReport(L"UnHook dll \"%S\" import %S!%Iu()\n", strrchr(pszBuffer, '\\') + 1, module->exportModuleName, importname); } #endif diff --git a/src/vld.h b/src/vld.h index b591ff3e..66b73aa9 100644 --- a/src/vld.h +++ b/src/vld.h @@ -341,7 +341,7 @@ __declspec(dllexport) int VLDResolveCallstacks(); #define VLDGetOptions() (0) #define VLDGetReportFilename(a) #define VLDSetOptions(a, b, c) -#define VLDSetReportHook(a, b) +#define VLDSetReportHook(a, b) (-1) #define VLDSetModulesList(a) #define VLDGetModulesList(a, b) (FALSE) #define VLDSetReportOptions(a, b)