2
0
forked from Ivasoft/DSView

Disable many warning messages

This commit is contained in:
dreamsourcelabTAI
2023-06-29 14:49:45 +08:00
parent 6093633b77
commit a503e6404e
59 changed files with 358 additions and 382 deletions

View File

@@ -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, "%llu\t", ctx->samplecount-1);
g_string_append_printf(*out, "%lu\t", (u64_t)ctx->samplecount-1);
/* The next columns are the values of all channels. */
for (p = 0; p < ctx->num_enabled_channels; p++) {