Skip to content

Commit

Permalink
patterns: Make std::mem::find_sequence_in_range return -1 when no seq…
Browse files Browse the repository at this point in the history
…uence is found
  • Loading branch information
WerWolv committed Mar 1, 2022
1 parent 56079f7 commit 3d7adf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/builtin/source/content/pl_builtin_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ namespace hex::plugin::builtin {
}
}

LogConsole::abortEvaluation("failed to find sequence");
return i128(-1);
});

/* read_unsigned(address, size) */
Expand Down

0 comments on commit 3d7adf6

Please sign in to comment.