Commit 0fc71d44 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcr90/tests: Build without -DWINE_NO_LONG_TYPES.

parent 2c8b49f4
EXTRADEFS = -DWINE_NO_LONG_TYPES
TESTDLL = msvcr90.dll TESTDLL = msvcr90.dll
C_SRCS = \ C_SRCS = \
......
...@@ -339,7 +339,7 @@ static void __cdecl test_invalid_parameter_handler(const wchar_t *expression, ...@@ -339,7 +339,7 @@ static void __cdecl test_invalid_parameter_handler(const wchar_t *expression,
ok(function == NULL, "function is not NULL\n"); ok(function == NULL, "function is not NULL\n");
ok(file == NULL, "file is not NULL\n"); ok(file == NULL, "file is not NULL\n");
ok(line == 0, "line = %u\n", line); ok(line == 0, "line = %u\n", line);
ok(arg == 0, "arg = %lx\n", (UINT_PTR)arg); ok(arg == 0, "arg = %Ix\n", arg);
ok(errno != 0xdeadbeef, "errno not set\n"); ok(errno != 0xdeadbeef, "errno not set\n");
} }
...@@ -353,7 +353,7 @@ static BOOL init(void) ...@@ -353,7 +353,7 @@ static BOOL init(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
hcrt = LoadLibraryA("msvcr90.dll"); hcrt = LoadLibraryA("msvcr90.dll");
if (!hcrt) { if (!hcrt) {
win_skip("msvcr90.dll not installed (got %d)\n", GetLastError()); win_skip("msvcr90.dll not installed (got %ld)\n", GetLastError());
return FALSE; return FALSE;
} }
...@@ -1181,7 +1181,7 @@ static void test_getptd(void) ...@@ -1181,7 +1181,7 @@ static void test_getptd(void)
int dec, sign; int dec, sign;
void *mbcinfo, *locinfo; void *mbcinfo, *locinfo;
ok(ptd->tid == tid, "ptd->tid = %x, expected %x\n", ptd->tid, tid); ok(ptd->tid == tid, "ptd->tid = %lx, expected %lx\n", ptd->tid, tid);
ok(ptd->handle == INVALID_HANDLE_VALUE, "ptd->handle = %p\n", ptd->handle); ok(ptd->handle == INVALID_HANDLE_VALUE, "ptd->handle = %p\n", ptd->handle);
ok(p_errno() == &ptd->thread_errno, "ptd->thread_errno is different then _errno()\n"); ok(p_errno() == &ptd->thread_errno, "ptd->thread_errno is different then _errno()\n");
ok(p_doserrno() == &ptd->thread_doserrno, "ptd->thread_doserrno is different then __doserrno()\n"); ok(p_doserrno() == &ptd->thread_doserrno, "ptd->thread_doserrno is different then __doserrno()\n");
...@@ -1258,7 +1258,7 @@ struct block_file_arg ...@@ -1258,7 +1258,7 @@ struct block_file_arg
FILE *write; FILE *write;
HANDLE init; HANDLE init;
HANDLE finish; HANDLE finish;
int deadlock_test; LONG deadlock_test;
}; };
static DWORD WINAPI block_file(void *arg) static DWORD WINAPI block_file(void *arg)
......
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