From: Uwe Hermann Date: Sat, 12 Sep 2015 15:06:43 +0000 (+0200) Subject: Use PRIu64 instead of %ld for uint64_t printing. X-Git-Tag: sigrok-cli-0.6.0~12 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=89025e7128b7d2540764eb9b8ef600286ef25f91;p=sigrok-cli.git Use PRIu64 instead of %ld for uint64_t printing. --- diff --git a/show.c b/show.c index b191f0c..26ac318 100644 --- a/show.c +++ b/show.c @@ -658,7 +658,7 @@ void show_dev_detail(void) if ((srmqfi = sr_key_info_get(SR_KEY_MQFLAGS, mqflags & mask))) printf("/%s", srmqfi->id); else - printf("/%ld", mqflags & mask); + printf("/%" PRIu64, mqflags & mask); } if (mq == cur_mq && mqflags == cur_mqflags) printf(" (current)");