summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-16 22:55:09 +0100
committerGitHub <noreply@github.com>2019-11-16 22:55:09 +0100
commite9f905dcccb0bd2492f6bd22cb274055f5a8032f (patch)
treeeeac8d1ebbe14bbf0bbc3b5858a7ddf3ade539cd /modules
parent53bc47a4da50d4168ad339a295fa7e327faae63b (diff)
parent8fa72a20f39f181694651d7099ffe6753989bc2e (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.cpp2
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) {