From ffbe56847e2f079d936c22ea17d5eb866b5f428d Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Wed, 4 Apr 2018 15:37:14 +0200 Subject: [PATCH] db: Fixing some clang warnings Signed-off-by: Christian Decker --- wallet/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/db.c b/wallet/db.c index 57ff7f778..f9167c31a 100644 --- a/wallet/db.c +++ b/wallet/db.c @@ -746,7 +746,7 @@ struct pubkey *sqlite3_column_pubkey_array(const tal_t *ctx, return NULL; n = sqlite3_column_bytes(stmt, col) / PUBKEY_DER_LEN; - assert(n * PUBKEY_DER_LEN == sqlite3_column_bytes(stmt, col)); + assert(n * PUBKEY_DER_LEN == (size_t)sqlite3_column_bytes(stmt, col)); ret = tal_arr(ctx, struct pubkey, n); ders = sqlite3_column_blob(stmt, col);