summaryrefslogtreecommitdiffstats
path: root/core/math/convex_hull.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-26 12:46:04 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-26 12:46:04 +0200
commita4c1804cab2ace8c7496390132c8cdc019b55078 (patch)
tree720174e7edf347c9de69eb958903e8ebab5c428f /core/math/convex_hull.cpp
parentb64b464ba72ae54f6a1b90e403c6dfa2a7ccede6 (diff)
parentc92a6c7e27cc51e1161425fd2d6e85a63d4b81fb (diff)
downloadredot-engine-a4c1804cab2ace8c7496390132c8cdc019b55078.tar.gz
Merge pull request #97483 from akien-mga/clang-format-19.1.0
CI: Update `clang-format` pre-commit hook to 19.1.0
Diffstat (limited to 'core/math/convex_hull.cpp')
-rw-r--r--core/math/convex_hull.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/convex_hull.cpp b/core/math/convex_hull.cpp
index 80662c1b07..620a7541e4 100644
--- a/core/math/convex_hull.cpp
+++ b/core/math/convex_hull.cpp
@@ -204,7 +204,7 @@ public:
static Int128 mul(uint64_t a, uint64_t b);
Int128 operator-() const {
- return Int128((uint64_t) - (int64_t)low, ~high + (low == 0));
+ return Int128(uint64_t(-int64_t(low)), ~high + (low == 0));
}
Int128 operator+(const Int128 &b) const {