fix some compiler warnings

This commit is contained in:
walker0643
2018-01-31 10:03:34 -05:00
parent 9240cc12df
commit b77eec1f17
4 changed files with 7 additions and 6 deletions

View File

@@ -106,7 +106,7 @@ void IpcClient::sendCommand(const QString& command, ElevateMode const elevate)
std::string stdStringCommand = command.toStdString();
const char* charCommand = stdStringCommand.c_str();
int length = strlen(charCommand);
int length = (int)strlen(charCommand);
char lenBuf[4];
intToBytes(length, lenBuf, 4);