mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 13:35:00 +00:00
bytes is signed
This commit is contained in:
parent
f78007766b
commit
36addd5b61
@ -1716,7 +1716,7 @@ static void client_run(jsock_t *jsock)
|
|||||||
bytes = ws_read_frame(&jsock->ws, &oc, &data);
|
bytes = ws_read_frame(&jsock->ws, &oc, &data);
|
||||||
|
|
||||||
if (bytes < 0) {
|
if (bytes < 0) {
|
||||||
die("BAD READ %" SWITCH_SIZE_T_FMT "\n", bytes);
|
die("BAD READ %" SWITCH_SSIZE_T_FMT "\n", bytes);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user