diff --git a/src/system/espidf/network.c b/src/system/espidf/network.c index bc91f50c3..ca3b58c18 100644 --- a/src/system/espidf/network.c +++ b/src/system/espidf/network.c @@ -685,7 +685,7 @@ size_t _z_read_serial(const _z_sys_net_socket_t sock, uint8_t *ptr, size_t len) uint32_t c_crc = _z_crc32(ptr, payload_len); if (c_crc != crc) { - _Z_ERROR("CRC mismatch: %d != %d ", c_crc, crc); + _Z_ERROR("CRC mismatch: %ld != %ld ", c_crc, crc); ret = _Z_ERR_GENERIC; } } else {