]> sigrok.org Git - sigrok-cli.git/commitdiff
Use PRIu64 instead of %ld for uint64_t printing.
authorUwe Hermann <redacted>
Sat, 12 Sep 2015 15:06:43 +0000 (17:06 +0200)
committerUwe Hermann <redacted>
Sat, 12 Sep 2015 15:06:43 +0000 (17:06 +0200)
show.c

diff --git a/show.c b/show.c
index b191f0caa2715c921ad81b26668c888f8eda7d27..26ac3183f547c4f355752d97da88cef617257b30 100644 (file)
--- 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)");