Skip to content

Commit

Permalink
Fix typo (thanks Gustavo)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkaMaul committed Jun 12, 2024
1 parent c3a5fb2 commit 2af4c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/tools/mutator/mutators/LIR.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _mutate(self) -> Dict: # pylint: disable=too-many-branches
literal_replacements.append(variable.type.max) # append data type max value
if str(variable.type).startswith("uint"):
literal_replacements.append("1")
elif str(variable.type).startswith("uint"):
elif str(variable.type).startswith("int"):
literal_replacements.append("-1")
# Get the string
start = variable.source_mapping.start
Expand Down

0 comments on commit 2af4c66

Please sign in to comment.