summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-26 11:26:17 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-26 11:46:12 +0200
commitc92a6c7e27cc51e1161425fd2d6e85a63d4b81fb (patch)
tree34723cd4b44ad4df067d8af4402613997d63d76f /core
parentf7c567e2f56d6e63f4749387a67e5ea4903c4696 (diff)
downloadredot-engine-c92a6c7e27cc51e1161425fd2d6e85a63d4b81fb.tar.gz
CI: Update `clang-format` pre-commit hook to 19.1.0
Diffstat (limited to 'core')
-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 {