Skip to content

Commit

Permalink
bkpr: use long-uint not size_t for time_t
Browse files Browse the repository at this point in the history
Reported-By: @endothermicdev
  • Loading branch information
niftynei committed Jul 29, 2022
1 parent 1840da7 commit 31e5b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/bkpr/incomestmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,9 @@ void json_add_income_event(struct json_stream *out, struct income_event *ev)

const char *csv_filename(const tal_t *ctx, const struct csv_fmt *fmt)
{
return tal_fmt(ctx, "cln_incomestmt_%s_%zu.csv",
return tal_fmt(ctx, "cln_incomestmt_%s_%lu.csv",
fmt->fmt_name,
time_now().ts.tv_sec);
(unsigned long)time_now().ts.tv_sec);
}

static char *convert_asset_type(struct income_event *ev)
Expand Down

0 comments on commit 31e5b82

Please sign in to comment.