diff --git a/mbus/mbus-protocol.c b/mbus/mbus-protocol.c index e11dfe9..02d62a1 100755 --- a/mbus/mbus-protocol.c +++ b/mbus/mbus-protocol.c @@ -3175,7 +3175,7 @@ mbus_hex_dump(const char *label, const char *buff, size_t len) timeinfo = gmtime ( &rawtime ); strftime(timestamp,20,"%Y-%m-%d %H:%M:%S",timeinfo); - fprintf(stderr, "[%s] %s (%03d):", timestamp, label, len); + fprintf(stderr, "[%s] %s (%03zu):", timestamp, label, len); for (i = 0; i < len; i++) {