Skip to content

Commit

Permalink
chore: fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielattilasimon committed Dec 3, 2024
1 parent 0a4a784 commit 1fcda14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Math.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function add(uint88 a, int88 b) pure returns (uint88) {
if (b < 0) {
return a - abs(b);
}
return a + b;
return a + uint88(b);
}

function max(uint256 a, uint256 b) pure returns (uint256) {
Expand Down

0 comments on commit 1fcda14

Please sign in to comment.