diff options
author | Pasta <pasta@dashboost.org> | 2021-12-18 12:50:58 -0500 |
---|---|---|
committer | pasta <pasta@dashboost.org> | 2023-01-03 19:31:29 -0600 |
commit | f2fc03ec856d7d19a20c482514350cced38f9504 (patch) | |
tree | f783af485b07464f29e0f5876db293a5ce44ca03 /src/script/interpreter.cpp | |
parent | 3f8591d46b46cec2c4effc01f8822222087d74c4 (diff) | |
download | bitcoin-f2fc03ec856d7d19a20c482514350cced38f9504.tar.xz |
refactor: use braced init for integer constants instead of c style casts
Diffstat (limited to 'src/script/interpreter.cpp')
-rw-r--r-- | src/script/interpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index b15fc2a576..a942ff349b 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -1303,7 +1303,7 @@ public: // Serialize the nSequence if (nInput != nIn && (fHashSingle || fHashNone)) // let the others update at will - ::Serialize(s, (int)0); + ::Serialize(s, int{0}); else ::Serialize(s, txTo.vin[nInput].nSequence); } |