mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
check-bolt: make it compile cleanly with -Wextra.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user