mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
refactor: use braced init for integer constants instead of c style casts
This commit is contained in:
parent
3f8591d46b
commit
f2fc03ec85
23 changed files with 47 additions and 47 deletions
|
|
@ -2123,7 +2123,7 @@ bool DescriptorScriptPubKeyMan::TopUp(unsigned int size)
|
|||
if (size > 0) {
|
||||
target_size = size;
|
||||
} else {
|
||||
target_size = std::max(gArgs.GetIntArg("-keypool", DEFAULT_KEYPOOL_SIZE), (int64_t) 1);
|
||||
target_size = std::max(gArgs.GetIntArg("-keypool", DEFAULT_KEYPOOL_SIZE), int64_t{1});
|
||||
}
|
||||
|
||||
// Calculate the new range_end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue