summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-10-21 07:59:55 +0200
committerSven Gothel <[email protected]>2021-10-21 07:59:55 +0200
commit90ae4c9d55725697c1b16ac48d08fc171a48d2ec (patch)
treec682bac8dc02a8b0b49c2215953570c5a4aa32a8
parenta3e246cc1a4509c80a688f9eb6f39d353d15911b (diff)
octets: Fix TRACE_PRINT fmt usage
-rw-r--r--include/jau/octets.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jau/octets.hpp b/include/jau/octets.hpp
index 317897e..772041c 100644
--- a/include/jau/octets.hpp
+++ b/include/jau/octets.hpp
@@ -110,7 +110,7 @@ namespace jau {
* @param byte_order endian::little or endian::big byte order, one may pass endian::native.
*/
inline void setData(uint8_t *data_, nsize_t size_, const endian byte_order) noexcept {
- TRACE_PRINT("POctets setData: %d bytes @ %p -> %d bytes @ %p",
+ TRACE_PRINT("POctets setData: %zu bytes @ %p -> %zu bytes @ %p",
_size, _data, size_, data_);
checkPtr(data_, size_);
_size = size_;