Commit 8e5eaaad authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.

parent 1369719d
......@@ -213,7 +213,7 @@ static void test_RtlIsNameLegalDOS8Dot3(void)
strcpy( str, test->path );
for (i = 0; str[i]; i++) str[i] = toupper(str[i]);
ok( oem_ret.Length == strlen(test->path), "Wrong length %d/%d for '%s'\n",
oem_ret.Length, strlen(test->path), test->path );
oem_ret.Length, lstrlenA(test->path), test->path );
ok( !memcmp( oem_ret.Buffer, str, oem_ret.Length ),
"Wrong string '%.*s'/'%s'\n", oem_ret.Length, oem_ret.Buffer, str );
}
......
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