From 068b3b98ed68a6e2bdda4dc681d4ce99a40b53de Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Fri, 30 Oct 2015 11:25:16 -0700 Subject: [PATCH] Fix compile warnning #4933 --- src/lib/synergy/ToolApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/synergy/ToolApp.cpp b/src/lib/synergy/ToolApp.cpp index 0b4978b7..6a156b26 100644 --- a/src/lib/synergy/ToolApp.cpp +++ b/src/lib/synergy/ToolApp.cpp @@ -153,7 +153,7 @@ ToolApp::loginAuth() std::cin >> credentials; std::vector parts = synergy::string::splitString(credentials, ':'); - int count = parts.size(); + size_t count = parts.size(); if (count == 2 ) { String email = parts[0]; @@ -196,7 +196,7 @@ ToolApp::notifyActivation() std::cin >> info; std::vector parts = synergy::string::splitString(info, ':'); - int count = parts.size(); + size_t count = parts.size(); if (count == 3 || count == 4) { String action = parts[0];