mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
db: Fixing some clang warnings
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
36c335fb09
commit
ffbe56847e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user