Alexandre Julliard : shell32/tests: Use NULL for a null pointer.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 4 09:22:16 CST 2015


Module: wine
Branch: master
Commit: d28052066ddc1a8ea1acda1e7f8284970524360d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d28052066ddc1a8ea1acda1e7f8284970524360d

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Mar  4 14:31:56 2015 +0900

shell32/tests: Use NULL for a null pointer.

---

 dlls/shell32/tests/shlfileop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index 07e4ee2..6bb28e1 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -2429,7 +2429,7 @@ static void test_unicode(void)
     shfoW.hwnd = NULL;
     shfoW.wFunc = FO_DELETE;
     shfoW.pFrom = UNICODE_PATH;
-    shfoW.pTo = '\0';
+    shfoW.pTo = NULL;
     shfoW.fFlags = FOF_NOCONFIRMATION | FOF_SILENT | FOF_NOERRORUI;
     shfoW.hNameMappings = NULL;
     shfoW.lpszProgressTitle = NULL;




More information about the wine-cvs mailing list