diff --git a/lightningd/param.h b/lightningd/param.h index 1b3212377..2c5c37f6c 100644 --- a/lightningd/param.h +++ b/lightningd/param.h @@ -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.