X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fzketech-ebd-usb%2Fprotocol.c;fp=src%2Fhardware%2Fzketech-ebd-usb%2Fprotocol.c;h=0c99ea5034b5d70344a95244e78ab3aba275e9d5;hb=b8a954c58664b3aede2bfa32db45ca8bd080478d;hp=3a7fc5467eebab1fe92281d2603981e760a3c75c;hpb=f49065c6682b720800e05e8e2821a193b251d65a;p=libsigrok.git diff --git a/src/hardware/zketech-ebd-usb/protocol.c b/src/hardware/zketech-ebd-usb/protocol.c index 3a7fc546..0c99ea50 100644 --- a/src/hardware/zketech-ebd-usb/protocol.c +++ b/src/hardware/zketech-ebd-usb/protocol.c @@ -30,7 +30,7 @@ static void log_buf(const char *message, uint8_t buf[], size_t count) buffer[count * 2] = 0; - sr_dbg("%s: %s [%lu bytes]", message, buffer, count); + sr_dbg("%s: %s [%zu bytes]", message, buffer, count); } /* Send a command to the device. */