]> sigrok.org Git - libsigrok.git/blobdiff - src/output/analog.c
output/analog: Fix a compiler warning on Mac OS X.
[libsigrok.git] / src / output / analog.c
index f5d23e6fc085b896e0a18246bf51e2134041294a..45df4003b8d17bc92d8fb75bb4e04d7ae1d9c8cc 100644 (file)
@@ -113,7 +113,8 @@ static int receive(const struct sr_output *o, const struct sr_datafeed_packet *p
                                g_string_append_printf(*out, "%f",
                                        g_variant_get_double(src->data));
                        } else if (srci->datatype == SR_T_UINT64) {
-                               g_string_append_printf(*out, "%" PRIu64,
+                               g_string_append_printf(*out, "%"
+                                       G_GUINT64_FORMAT,
                                        g_variant_get_uint64(src->data));
                        }
                        g_string_append(*out, "\n");