diff --git a/dlls/oledlg/tests/Makefile.in b/dlls/oledlg/tests/Makefile.in index 10f77e8042e..5c6227bb59d 100644 --- a/dlls/oledlg/tests/Makefile.in +++ b/dlls/oledlg/tests/Makefile.in @@ -1,4 +1,3 @@ -EXTRADEFS = -DWINE_NO_LONG_TYPES TESTDLL = oledlg.dll IMPORTS = oledlg ole32 user32 diff --git a/dlls/oledlg/tests/main.c b/dlls/oledlg/tests/main.c index 919cd008542..384b7b38626 100644 --- a/dlls/oledlg/tests/main.c +++ b/dlls/oledlg/tests/main.c @@ -51,7 +51,7 @@ static ULONG WINAPI enumverbs_Release(IEnumOLEVERB *iface) static int g_enumpos; static HRESULT WINAPI enumverbs_Next(IEnumOLEVERB *iface, ULONG count, OLEVERB *verbs, ULONG *fetched) { - ok(count == 1, "got %u\n", count); + ok(count == 1, "got %lu\n", count); ok(fetched == NULL, "got %p\n", fetched); ok(g_enumpos == 0 || g_enumpos == 1, "got pos %d\n", g_enumpos); @@ -209,7 +209,7 @@ static HRESULT WINAPI oleobject_GetUserClassID(IOleObject *iface, CLSID *clsid) static HRESULT WINAPI oleobject_GetUserType(IOleObject *iface, DWORD formoftype, LPOLESTR *usertype) { - ok(formoftype == USERCLASSTYPE_SHORT, "got %d\n", formoftype); + ok(formoftype == USERCLASSTYPE_SHORT, "got %ld\n", formoftype); *usertype = CoTaskMemAlloc(sizeof(L"test")); lstrcpyW(*usertype, L"test"); return S_OK;