forked from Ivasoft/DSView
The print format for type uint64_t
This commit is contained in:
@@ -212,7 +212,7 @@ static int receive(const struct sr_output *o, const struct sr_datafeed_packet *p
|
||||
memcpy(ctx->prevsample, sample, logic->unitsize);
|
||||
|
||||
/* The first column is a counter (needed for gnuplot). */
|
||||
g_string_append_printf(*out, "%lu\t", (u64_t)ctx->samplecount-1);
|
||||
g_string_append_printf(*out, "%llu\t", (u64_t)ctx->samplecount-1);
|
||||
|
||||
/* The next columns are the values of all channels. */
|
||||
for (p = 0; p < ctx->num_enabled_channels; p++) {
|
||||
|
||||
Reference in New Issue
Block a user