check-bolt: make it compile cleanly with -Wextra.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2016-09-02 11:58:18 +09:30
parent 6fe5ecb2ac
commit 8a98ca8264

View file

@ -233,7 +233,7 @@ static struct bolt_file *find_bolt(const char *bolt_prefix,
struct bolt_file *bolts)
{
size_t i, n = tal_count(bolts);
size_t boltnum;
int boltnum;
for (i = 0; i < n; i++)
if (streq(bolts[i].prefix, bolt_prefix))