From 8a98ca826430df9f8b960e042a6ce018840a4779 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 2 Sep 2016 11:58:18 +0930 Subject: [PATCH] check-bolt: make it compile cleanly with -Wextra. Signed-off-by: Rusty Russell --- check-bolt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-bolt.c b/check-bolt.c index 1d11d3ef5..b0309c54f 100644 --- a/check-bolt.c +++ b/check-bolt.c @@ -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))