output/analog: Fix a compiler warning on Mac OS X.

Apparently PRIu64 and G_GUINT64_FORMAT differ on some systems for
unknown reasons. Use G_GUINT64_FORMAT to get rid of the warning
for now.
This commit is contained in:
Uwe Hermann 2018-02-18 21:23:28 +01:00
parent 65788048f0
commit 374b0a94b2
1 changed files with 2 additions and 1 deletions

View 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");