Skip to content

Commit 9976b33

Browse files
committed
fix
1 parent d96ca58 commit 9976b33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/conversions/std/num.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ mod fast_128bit_int_conversion {
366366

367367
*DIGITS.get_or_init(|| {
368368
let layout = unsafe { &*ffi::PyLong_GetNativeLayout() };
369-
layout.bits_per_digit == PYLONG_BITS_IN_DIGIT
369+
layout.bits_per_digit == PYLONG_BITS_IN_DIGIT as u8
370370
})
371371
}
372372

0 commit comments

Comments
 (0)