output/csv: Fix a compiler warning.

src/output/csv.c: In function 'dump_saved_values':
src/output/csv.c:461:6: warning: format '%lu' expects argument of
type 'long unsigned int', but argument 3 has type 'uint64_t' [-Wformat=]
      ctx->sample_time, ctx->value);
      ^
This commit is contained in:
Uwe Hermann 2017-03-18 20:55:20 +01:00
parent ef7fb1abff
commit 8005151b87
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ static void dump_saved_values(struct context *ctx, GString **out)
}
if (ctx->time)
g_string_append_printf(*out, "%lu%s",
g_string_append_printf(*out, "%" PRIu64 "%s",
ctx->sample_time, ctx->value);
for (j = 0; j < num_channels; j++) {