From: Uwe Hermann Date: Tue, 5 Jun 2018 17:40:46 +0000 (+0200) Subject: zketech-ebd-usb: Fix a compiler warning. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b8a954c58664b3aede2bfa32db45ca8bd080478d;p=libsigrok.git zketech-ebd-usb: Fix a compiler warning. --- 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. */