Skip to content

Commit

Permalink
Make "shift" an "int" variable; since it's range is 0 < shift < INT_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Aug 25, 2023
1 parent 813e29b commit a951fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/tclExecute.c
Original file line number Diff line number Diff line change
Expand Up @@ -8502,7 +8502,7 @@ ExecuteExtendedBinaryMathOp(
mp_int big1, big2, bigResult, bigRemainder;
Tcl_Obj *objResultPtr;
int invalid, zero;
long shift;
int shift;

(void) GetNumberFromObj(NULL, valuePtr, &ptr1, &type1);
(void) GetNumberFromObj(NULL, value2Ptr, &ptr2, &type2);
Expand Down

0 comments on commit a951fd1

Please sign in to comment.