mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-12 11:26:11 +08:00
Fix compile warnning #4933
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user