Skip to content

Commit 95e6fc2

Browse files
committed
Fix CI errors
1 parent b521719 commit 95e6fc2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/simdjson/portability.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ static inline int hamming(uint64_t input_num) {
4646
#include <x86intrin.h>
4747

4848
static inline bool add_overflow(uint64_t value1, uint64_t value2, uint64_t *result) {
49-
return __builtin_uaddll_overflow(value1, value2, static_cast<unsigned long long*>(result));
49+
return __builtin_uaddll_overflow(value1, value2, (unsigned long long*)result);
5050
}
5151
static inline bool mul_overflow(uint64_t value1, uint64_t value2, uint64_t *result) {
52-
return __builtin_umulll_overflow(value1, value2, static_cast<unsigned long long *>(result));
52+
return __builtin_umulll_overflow(value1, value2, (unsigned long long *)result);
5353
}
5454

5555
/* result might be undefined when input_num is zero */

0 commit comments

Comments
 (0)