diff --git a/tests/test/library/ttdlltes1.pp b/tests/test/library/ttdlltes1.pp index e3637ef184..544c6e5ae2 100644 --- a/tests/test/library/ttdlltes1.pp +++ b/tests/test/library/ttdlltes1.pp @@ -9,7 +9,7 @@ } library testdll; -function GetModuleFileName(hModule:longint;lpszPath:pchar;cchPath:longint):longint; +function GetModuleFileName(hModule:HModule;lpszPath:pchar;cchPath:dword):dword; stdcall; external 'kernel32' name 'GetModuleFileNameA'; procedure beep(ID:longint); stdcall; external 'user32' name 'MessageBeep';