Commit e913d34e authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

faultrep/tests: Enable compilation with long types.

parent c8431d97
EXTRADEFS = -DWINE_NO_LONG_TYPES
TESTDLL = faultrep.dll TESTDLL = faultrep.dll
IMPORTS = faultrep advapi32 IMPORTS = faultrep advapi32
......
...@@ -82,11 +82,11 @@ static void test_AddERExcludedApplicationA(void) ...@@ -82,11 +82,11 @@ static void test_AddERExcludedApplicationA(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
res = AddERExcludedApplicationA(NULL); res = AddERExcludedApplicationA(NULL);
ok(!res, "got %d and 0x%x (expected FALSE)\n", res, GetLastError()); ok(!res, "got %d and 0x%lx (expected FALSE)\n", res, GetLastError());
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
res = AddERExcludedApplicationA(""); res = AddERExcludedApplicationA("");
ok(!res, "got %d and 0x%x (expected FALSE)\n", res, GetLastError()); ok(!res, "got %d and 0x%lx (expected FALSE)\n", res, GetLastError());
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
/* existence of the path doesn't matter this function succeeded */ /* existence of the path doesn't matter this function succeeded */
...@@ -99,12 +99,12 @@ static void test_AddERExcludedApplicationA(void) ...@@ -99,12 +99,12 @@ static void test_AddERExcludedApplicationA(void)
} }
else else
{ {
ok(res, "AddERExcludedApplicationA failed (le=0x%x)\n", GetLastError()); ok(res, "AddERExcludedApplicationA failed (le=0x%lx)\n", GetLastError());
/* add, when already present */ /* add, when already present */
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
res = AddERExcludedApplicationA("winetest_faultrep.exe"); res = AddERExcludedApplicationA("winetest_faultrep.exe");
ok(res, "AddERExcludedApplicationA failed (le=0x%x)\n", GetLastError()); ok(res, "AddERExcludedApplicationA failed (le=0x%lx)\n", GetLastError());
} }
/* cleanup */ /* cleanup */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment