Fix compile warnning #4933

This commit is contained in:
Jerry (Xinyu Hou) 2015-10-30 11:25:16 -07:00
parent 0a1c439535
commit 068b3b98ed
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ ToolApp::loginAuth()
std::cin >> credentials; std::cin >> credentials;
std::vector<String> parts = synergy::string::splitString(credentials, ':'); std::vector<String> parts = synergy::string::splitString(credentials, ':');
int count = parts.size(); size_t count = parts.size();
if (count == 2 ) { if (count == 2 ) {
String email = parts[0]; String email = parts[0];
@ -196,7 +196,7 @@ ToolApp::notifyActivation()
std::cin >> info; std::cin >> info;
std::vector<String> parts = synergy::string::splitString(info, ':'); std::vector<String> parts = synergy::string::splitString(info, ':');
int count = parts.size(); size_t count = parts.size();
if (count == 3 || count == 4) { if (count == 3 || count == 4) {
String action = parts[0]; String action = parts[0];