mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[WINESYNC] msi/tests: Avoid using snprintf().
Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 72f7f57a21d6e4dd63de56d4a9a265048ed930b6 by Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bef1f25922
commit
3b835aa0ab
1 changed files with 2 additions and 2 deletions
|
@ -5720,14 +5720,14 @@ static void test_installprops(void)
|
|||
size = MAX_PATH;
|
||||
r = MsiGetPropertyA(hpkg, "ScreenX", buf, &size);
|
||||
ok( r == ERROR_SUCCESS, "Expected ERROR_SUCCESS got %d\n", r);
|
||||
ok(atol(buf) == res, "Expected %d, got %ld\n", res, atol(buf));
|
||||
ok(atol(buf) == res, "Expected %d, got %s\n", res, buf);
|
||||
|
||||
res = GetSystemMetrics(SM_CYSCREEN);
|
||||
buf[0] = 0;
|
||||
size = MAX_PATH;
|
||||
r = MsiGetPropertyA(hpkg, "ScreenY", buf, &size);
|
||||
ok( r == ERROR_SUCCESS, "Expected ERROR_SUCCESS got %d\n", r);
|
||||
ok(atol(buf) == res, "Expected %d, got %ld\n", res, atol(buf));
|
||||
ok(atol(buf) == res, "Expected %d, got %s\n", res, buf);
|
||||
|
||||
buf[0] = 0;
|
||||
size = MAX_PATH;
|
||||
|
|
Loading…
Reference in a new issue