---
 client/windows/platform.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/windows/platform.cpp b/client/windows/platform.cpp
index 06d5aa0..3e556fa 100644
--- a/client/windows/platform.cpp
+++ b/client/windows/platform.cpp
@@ -199,7 +199,7 @@ static LRESULT CALLBACK PlatformWinProc(HWND hWnd, UINT 
message, WPARAM wParam,
             int type_count;
             uint32_t* types;
             Platform::set_clipboard_owner(Platform::owner_none);
-            if (type_count = get_available_clipboard_types(&types)) {
+            if ((type_count = get_available_clipboard_types(&types))) {
                 clipboard_listener->on_clipboard_grab(types, type_count);
                 delete[] types;
             } else {
-- 
1.7.3.2

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to