diff options
author | Alon Levy <alevy@redhat.com> | 2010-12-06 17:56:26 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-12-08 17:11:45 +0200 |
commit | d14b720a3fd1b90ad1128374f763ecc296794736 (patch) | |
tree | be12c6510ff17c4df35b1372b841c207e699eac4 /client | |
parent | 1943352d6093ae27f1f4e80d786f4114be6032ac (diff) | |
download | spice-d14b720a3fd1b90ad1128374f763ecc296794736.tar.gz spice-d14b720a3fd1b90ad1128374f763ecc296794736.tar.xz spice-d14b720a3fd1b90ad1128374f763ecc296794736.zip |
mingw32 build: fix assignement as condition warning
Diffstat (limited to 'client')
-rw-r--r-- | 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 06d5aa0f..3e556faa 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 { |