From 6ec323ac747192b378c8d231ca194f09cb27f264 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 22 Sep 2005 21:09:06 +0000 Subject: [PATCH] fixed gcc4 warning svn path=/trunk/; revision=17989 --- reactos/lib/shell32/ros-systray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/shell32/ros-systray.c b/reactos/lib/shell32/ros-systray.c index f8f418799b1..59a9c23762f 100644 --- a/reactos/lib/shell32/ros-systray.c +++ b/reactos/lib/shell32/ros-systray.c @@ -54,7 +54,7 @@ static BOOL SHELL_NotifyIcon(DWORD dwMessage, void* pnid, HWND nid_hwnd, int nid data.cbData = len; data.lpData = pnotify_data; - for(hwnd=0; hwnd=FindWindowExW(0, hwnd, L"Shell_TrayWnd", NULL); ) + for(hwnd=0; (hwnd=FindWindowExW(0, hwnd, L"Shell_TrayWnd", NULL)); ) if ((unicode?SendMessageW:SendMessageA)(hwnd, WM_COPYDATA, (WPARAM)nid_hwnd, (LPARAM)&data)) ret = TRUE;