From: Uwe Hermann Date: Tue, 18 Dec 2012 00:30:34 +0000 (+0100) Subject: fx2lafw: Fix int64_t printing. X-Git-Tag: dsupstream~434 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c0bf69c29b138d18ee9f542985664eeaeeb47a0a;p=libsigrok.git fx2lafw: Fix int64_t printing. --- diff --git a/hardware/fx2lafw/fx2lafw.c b/hardware/fx2lafw/fx2lafw.c index 488365cd..3bc8eabb 100644 --- a/hardware/fx2lafw/fx2lafw.c +++ b/hardware/fx2lafw/fx2lafw.c @@ -538,8 +538,7 @@ static int hw_dev_open(struct sr_dev_inst *sdi) sr_err("Device failed to renumerate."); return SR_ERR; } - sr_info("Device came back after %dms.", - timediff_ms); + sr_info("Device came back after %" PRIi64 "ms.", timediff_ms); } else { sr_info("Firmware upload was not needed."); ret = fx2lafw_dev_open(sdi);