mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
fix for building with Visual Studio 2012 (nw)
This commit is contained in:
parent
736b9c13de
commit
46781347cd
@ -4007,7 +4007,7 @@ static void read_websocket(struct mg_connection *conn) {
|
||||
// so the queue begins after it.
|
||||
unsigned char *buf = (unsigned char *) conn->buf + conn->request_len;
|
||||
int bits, n, stop = 0;
|
||||
size_t i, len, mask_len, data_len, header_len, body_len;
|
||||
size_t i, len, mask_len = 0, data_len = 0, header_len, body_len;
|
||||
// data points to the place where the message is stored when passed to the
|
||||
// websocket_data callback. This is either mem on the stack,
|
||||
// or a dynamically allocated buffer if it is too large.
|
||||
|
Loading…
Reference in New Issue
Block a user