]> sigrok.org Git - libsigrok.git/commitdiff
zketech-ebd-usb: Fix a compiler warning.
authorUwe Hermann <redacted>
Tue, 5 Jun 2018 17:40:46 +0000 (19:40 +0200)
committerUwe Hermann <redacted>
Tue, 5 Jun 2018 20:01:12 +0000 (22:01 +0200)
src/hardware/zketech-ebd-usb/protocol.c

index 3a7fc5467eebab1fe92281d2603981e760a3c75c..0c99ea5034b5d70344a95244e78ab3aba275e9d5 100644 (file)
@@ -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. */