Skip to content

Commit 84b15a5

Browse files
committed
Fix compiler warning
1 parent ce47b69 commit 84b15a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AsyncWebSocket.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ 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, static_cast<uint8_t>(_status)
584584
);
585585

586586
if (_pstate == STATE_FRAME_START) {

0 commit comments

Comments
 (0)