mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:33:00 +00:00
[ROSTESTS] fix x64 build and fix/disable warnings
This commit is contained in:
parent
6a67450893
commit
42d2d5ec9c
56 changed files with 229 additions and 171 deletions
|
@ -39,7 +39,7 @@ static void create_inf_file(LPCSTR filename, const char *data)
|
|||
HANDLE handle = CreateFileA(filename, GENERIC_WRITE, 0, NULL,
|
||||
CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
assert(handle != INVALID_HANDLE_VALUE);
|
||||
ret = WriteFile(handle, data, strlen(data), &res, NULL);
|
||||
ret = WriteFile(handle, data, lstrlenA(data), &res, NULL);
|
||||
assert(ret != 0);
|
||||
CloseHandle(handle);
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ static void test_SetupDiInstallClassExA(void)
|
|||
START_TEST(SetupDiInstallClassExA)
|
||||
{
|
||||
char temp_path[MAX_PATH], prev_path[MAX_PATH];
|
||||
DWORD len;
|
||||
SIZE_T len;
|
||||
|
||||
GetCurrentDirectoryA(MAX_PATH, prev_path);
|
||||
GetTempPathA(MAX_PATH, temp_path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue