Commit 51560bb9 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msvcr110/tests: Use the available ARRAY_SIZE() macro.

parent 551ff6e9
......@@ -61,7 +61,7 @@ static void test_setlocale(void)
"uz-Latn-uz",
};
for(i=0; i<sizeof(names)/sizeof(*names); i++) {
for(i=0; i<ARRAY_SIZE(names); i++) {
ret = p_setlocale(LC_ALL, names[i]);
ok(ret != NULL, "expected success, but got NULL\n");
ok(!strcmp(ret, names[i]), "expected %s, got %s\n", names[i], ret);
......
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