Alexandre Julliard : ntdll/tests: Use lstrlenA instead of strlen in
ok() to avoid printf format warnings.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jun 14 06:50:00 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 8e5eaaad1b9771dde6b5d7943c14d280c2546800
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8e5eaaad1b9771dde6b5d7943c14d280c2546800
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jun 13 13:57:40 2006 +0200
ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
---
dlls/ntdll/tests/path.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/tests/path.c b/dlls/ntdll/tests/path.c
index 8423c09..3c35624 100644
--- a/dlls/ntdll/tests/path.c
+++ b/dlls/ntdll/tests/path.c
@@ -213,7 +213,7 @@ static void test_RtlIsNameLegalDOS8Dot3(
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 );
}
More information about the wine-cvs
mailing list