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:
parent
65788048f0
commit
374b0a94b2
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue