diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-16 22:55:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-16 22:55:09 +0100 |
commit | e9f905dcccb0bd2492f6bd22cb274055f5a8032f (patch) | |
tree | eeac8d1ebbe14bbf0bbc3b5858a7ddf3ade539cd /modules | |
parent | 53bc47a4da50d4168ad339a295fa7e327faae63b (diff) | |
parent | 8fa72a20f39f181694651d7099ffe6753989bc2e (diff) |
Merge pull request #33637 from madmiraal/fix-c4334-warning
Fix Visual Studio throwing C4334 warning.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/websocket/wsl_peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/websocket/wsl_peer.cpp b/modules/websocket/wsl_peer.cpp index 32beccde5d..9d610109ed 100644 --- a/modules/websocket/wsl_peer.cpp +++ b/modules/websocket/wsl_peer.cpp @@ -213,7 +213,7 @@ void WSLPeer::make_context(PeerData *p_data, unsigned int p_in_buf_size, unsigne wslay_event_context_server_init(&(_data->ctx), &wsl_callbacks, _data); else wslay_event_context_client_init(&(_data->ctx), &wsl_callbacks, _data); - wslay_event_config_set_max_recv_msg_length(_data->ctx, (1 << p_in_buf_size)); + wslay_event_config_set_max_recv_msg_length(_data->ctx, (1ULL << p_in_buf_size)); } void WSLPeer::set_write_mode(WriteMode p_mode) { |