diff options
author | Alon Levy <alevy@redhat.com> | 2010-12-06 17:55:45 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-12-08 17:11:45 +0200 |
commit | 1943352d6093ae27f1f4e80d786f4114be6032ac (patch) | |
tree | dd5ca4695ef94cd63d3ca991017917218e1de9f5 /client/red_client.cpp | |
parent | 06749bd66bb3e689bc96be1a3739747912ee0020 (diff) | |
download | spice-1943352d6093ae27f1f4e80d786f4114be6032ac.tar.gz spice-1943352d6093ae27f1f4e80d786f4114be6032ac.tar.xz spice-1943352d6093ae27f1f4e80d786f4114be6032ac.zip |
mingw32 build: fixed using -1 as uninitialized value for unsigned variables
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 4923f296..c632a216 100644 --- a/client/red_client.cpp +++ b/client/red_client.cpp @@ -351,7 +351,7 @@ RedClient::RedClient(Application& application) , _mouse_mode (SPICE_MOUSE_MODE_SERVER) , _notify_disconnect (false) , _auto_display_res (false) - , _agent_reply_wait_type (-1) + , _agent_reply_wait_type (VD_AGENT_END_MESSAGE) , _aborting (false) , _agent_connected (false) , _agent_mon_config_sent (false) @@ -1060,7 +1060,7 @@ void RedClient::on_agent_reply(VDAgentReply* reply) if (_agent_reply_wait_type == reply->type) { post_message(new Message(SPICE_MSGC_MAIN_ATTACH_CHANNELS)); _application.deactivate_interval_timer(*_agent_timer); - _agent_reply_wait_type = -1; + _agent_reply_wait_type = VD_AGENT_END_MESSAGE; } break; default: |