[ntdll 4/5] Use intended variable

Paul Vriens paul.vriens.wine at gmail.com
Tue Nov 21 02:24:31 CST 2006


Hi,

eventhough the tests are not run anymore we should use the intended variable.

Changelog
  Use intended variable

Cheers,

Paul.
---
 dlls/ntdll/tests/string.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/tests/string.c b/dlls/ntdll/tests/string.c
index da5f09e..a8a6358 100644
--- a/dlls/ntdll/tests/string.c
+++ b/dlls/ntdll/tests/string.c
@@ -755,7 +755,7 @@ static void test_ulonglongtow(void)
 
     if (0) {
         /* Crashes on XP and W2K3 */
-        result = p_i64tow(ulong2str[0].value, NULL, 10);
+        result = p_i64tow(ulonglong2str[0].value, NULL, 10);
         ok(result == NULL,
            "(test d): _i64tow(0x%x%08x, NULL, 10) has result %p, expected: NULL\n",
            (DWORD)(ulonglong2str[0].value >> 32), (DWORD)ulonglong2str[0].value, result);
@@ -769,7 +769,7 @@ static void test_ulonglongtow(void)
 
         if (0) {
             /* Crashes on XP and W2K3 */
-	    result = p_ui64tow(ulong2str[0].value, NULL, 10);
+	    result = p_ui64tow(ulonglong2str[0].value, NULL, 10);
 	    ok(result == NULL,
                "(test e): _ui64tow(0x%x%08x, NULL, 10) has result %p, expected: NULL\n",
 	       (DWORD)(ulonglong2str[0].value >> 32), (DWORD)ulonglong2str[0].value, result);
-- 
1.4.4




More information about the wine-patches mailing list