bytes is signed

This commit is contained in:
Seven Du 2014-09-16 19:15:01 +08:00
parent f78007766b
commit 36addd5b61
1 changed files with 1 additions and 1 deletions

View File

@ -1716,7 +1716,7 @@ static void client_run(jsock_t *jsock)
bytes = ws_read_frame(&jsock->ws, &oc, &data);
if (bytes < 0) {
die("BAD READ %" SWITCH_SIZE_T_FMT "\n", bytes);
die("BAD READ %" SWITCH_SSIZE_T_FMT "\n", bytes);
break;
}