Skip to content

Commit

Permalink
fuzz: change int to unsigned in witness_program
Browse files Browse the repository at this point in the history
Avoids a signed/unsigned integer conversion.
  • Loading branch information
apoelstra committed Feb 11, 2025
1 parent b90ef38 commit 363c510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/fuzz/witness_program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ FUZZ_TARGET_INIT(witness_program, initialize_witness_program)

CScriptWitness witness;
int fuzz_control;
int flags;
unsigned flags;
ds >> fuzz_control;
ds >> witness.stack;
ds >> flags;
Expand Down

0 comments on commit 363c510

Please sign in to comment.