mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
lightningd: fix crash on rpc.invoice with clang
There is a type mismatch of variable argument.
This commit is contained in:
parent
d84d358562
commit
552b00e2c1
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ typedef bool(*param_cb)(const char *buffer, const jsmntok_t *tok, void *arg);
|
|||
(arg) + 0*sizeof((cb)((const char *)NULL, \
|
||||
(const jsmntok_t *)NULL, \
|
||||
(arg)) == true), \
|
||||
((void)((*arg) = (def)), 0)
|
||||
((void)((*arg) = (def)), (size_t)0)
|
||||
|
||||
/*
|
||||
* For when you want an optional raw token.
|
||||
|
|
Loading…
Add table
Reference in a new issue