From 20222beaed66ef6a2b222f5b2c9bef197f7cfcda Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 11 Apr 2014 12:33:29 -0700 Subject: [PATCH] GUAC-598: Fix warning regarding unsigned comparison against zero. --- src/protocols/rdp/guac_rdpdr/rdpdr_messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/rdp/guac_rdpdr/rdpdr_messages.c b/src/protocols/rdp/guac_rdpdr/rdpdr_messages.c index 2f599fde..fa579d7f 100644 --- a/src/protocols/rdp/guac_rdpdr/rdpdr_messages.c +++ b/src/protocols/rdp/guac_rdpdr/rdpdr_messages.c @@ -193,7 +193,7 @@ void guac_rdpdr_process_device_reply(guac_rdpdrPlugin* rdpdr, wStream* input_str code = ntstatus & 0x0000FFFF; /* Log error / information */ - if (device_id >= 0 && device_id < rdpdr->devices_registered) { + if (device_id < rdpdr->devices_registered) { if (severity == 0x0) guac_client_log_info(rdpdr->client, "Device %i (%s) connected successfully",