提交 763e6aa9 authored 作者: Seven Du's avatar Seven Du

FS-7046 fix warning introduced from b341ff7c

上级 7798b2fd
...@@ -1538,7 +1538,7 @@ new_req: ...@@ -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;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论