diff options
author | Alon Levy <alevy@redhat.com> | 2010-12-06 17:55:16 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-12-08 17:11:45 +0200 |
commit | 06749bd66bb3e689bc96be1a3739747912ee0020 (patch) | |
tree | df26e6897c54367f176d3bdeff757896c090a9d5 /client/red_client.cpp | |
parent | 2cd07dd8f3dd9bf34b1725bb015aecefc93b3454 (diff) | |
download | spice-06749bd66bb3e689bc96be1a3739747912ee0020.tar.gz spice-06749bd66bb3e689bc96be1a3739747912ee0020.tar.xz spice-06749bd66bb3e689bc96be1a3739747912ee0020.zip |
mingw32 build: fix signed/unsigned warnings as errors
Diffstat (limited to 'client/red_client.cpp')
-rw-r--r-- | client/red_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/red_client.cpp b/client/red_client.cpp index e1f5a423..4923f296 100644 --- a/client/red_client.cpp +++ b/client/red_client.cpp @@ -770,8 +770,8 @@ void RedClient::calc_pixmap_cach_and_glz_window_size(uint32_t display_channels_h { #ifdef WIN32 display_channels_hint = MAX(1, display_channels_hint); - int max_cache_size = display_channels_hint * MAX_DISPLAY_PIXMAP_CACHE; - int min_cache_size = display_channels_hint * MIN_DISPLAY_PIXMAP_CACHE; + uint64_t max_cache_size = display_channels_hint * MAX_DISPLAY_PIXMAP_CACHE; + uint64_t min_cache_size = display_channels_hint * MIN_DISPLAY_PIXMAP_CACHE; MEMORYSTATUSEX mem_status; mem_status.dwLength = sizeof(mem_status); |