Skip to content

Commit 3422fd5

Browse files
Update src/int128_native_impl.h
Co-authored-by: Tim Ruffing <[email protected]>
1 parent 724d05f commit 3422fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/int128_native_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static SECP256K1_INLINE void secp256k1_i128_rshift(secp256k1_int128 *r, unsigned
6060
}
6161

6262
static SECP256K1_INLINE uint64_t secp256k1_i128_to_u64(const secp256k1_int128 *a) {
63-
return *a;
63+
return (uint64_t)*a;
6464
}
6565

6666
static SECP256K1_INLINE int64_t secp256k1_i128_to_i64(const secp256k1_int128 *a) {

0 commit comments

Comments
 (0)