diff options
Diffstat (limited to 'cpp/src/IceGrid/Client.cpp')
-rw-r--r-- | cpp/src/IceGrid/Client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Client.cpp b/cpp/src/IceGrid/Client.cpp index c25c84d690b..d2ed8a7e065 100644 --- a/cpp/src/IceGrid/Client.cpp +++ b/cpp/src/IceGrid/Client.cpp @@ -220,7 +220,7 @@ getPassword(const string& prompt) tcsetattr(0, TCSANOW, &oldConf); #else char c; - while((c = _getch()) != '\r') + while((c = static_cast<char>(_getch())) != '\r') { password += c; } |