Skip to content

Commit dcacb66

Browse files
committed
Fix compiler warning
1 parent ce47b69 commit dcacb66

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/AsyncWebSocket.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,8 @@ void AsyncWebSocketClient::_onData(void *pbuf, size_t plen) {
580580

581581
while (plen > 0) {
582582
async_ws_log_v(
583-
"[%s][%" PRIu32 "] DATA plen: %" PRIu32 ", _pstate: %" PRIu8 ", _status: %" PRIu8, _server->url(), _clientId, plen, _pstate, static_cast<uint8_t>(_status)
583+
"[%s][%" PRIu32 "] DATA plen: %" PRIu32 ", _pstate: %" PRIu8 ", _status: %" PRIu8, _server->url(), _clientId, static_cast<uint32_t>(plen), _pstate,
584+
static_cast<uint8_t>(_status)
584585
);
585586

586587
if (_pstate == STATE_FRAME_START) {

0 commit comments

Comments
 (0)