mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-04 17:51:03 +00:00
FS-7046 fix warning introduced from b341ff7
This commit is contained in:
parent
82b7f01692
commit
f3d4c6e7b9
@ -1538,7 +1538,7 @@ new_req:
|
|||||||
while(bytes < request.content_length) {
|
while(bytes < request.content_length) {
|
||||||
len = request.content_length - bytes;
|
len = request.content_length - bytes;
|
||||||
|
|
||||||
if ((len = ws_raw_read(&jsock->ws, buffer + bytes, len, jsock->ws.block)) < 0) {
|
if ((switch_ssize_t)(len = ws_raw_read(&jsock->ws, buffer + bytes, len, jsock->ws.block)) < 0) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Read error %" SWITCH_SIZE_T_FMT"\n", len);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Read error %" SWITCH_SIZE_T_FMT"\n", len);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user