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

This commit is contained in:
Alexandre Julliard 2006-06-13 13:57:40 +02:00
parent 1369719d2c
commit 8e5eaaad1b
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}