mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
bkpr: use long-uint not size_t for time_t
Reported-By: @endothermicdev
This commit is contained in:
parent
4e503f7d0a
commit
3445882ee4
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue