diff options
Diffstat (limited to 'net/server')
-rw-r--r-- | net/server/http_listen_socket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server/http_listen_socket.cc b/net/server/http_listen_socket.cc index 2a55147..7711cd6 100644 --- a/net/server/http_listen_socket.cc +++ b/net/server/http_listen_socket.cc @@ -191,7 +191,7 @@ int charToInput(char ch) { return INPUT_COLON; case 0x0: return INPUT_00; - case -1: + case static_cast<char>(-1): return INPUT_FF; } return INPUT_DEFAULT; |