From 03569c70282f68a4bc9b259fbf5b7a2b4c5594b3 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 15 Apr 2013 10:37:18 +0200 Subject: [PATCH] Fix a signed/unsigned warning. --- server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.cpp b/server.cpp index 789d8ea..3a767a9 100644 --- a/server.cpp +++ b/server.cpp @@ -397,7 +397,7 @@ sending_data_again: // We don't have any more data for this client, so put it to sleep. // This is postcondition #3. stream->put_client_to_sleep(client); - } else if (more_data && ret == bytes_to_send) { + } else if (more_data && size_t(ret) == bytes_to_send) { goto sending_data_again; } break; -- 2.39.2