Skip to content

Commit 371b5e2

Browse files
PandH4ckeryouknowone
authored andcommitted
Fixed type mismatchs
1 parent a4629db commit 371b5e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/src/ssl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ mod _ssl {
121121
#[pyattr]
122122
const PROTO_MAXIMUM_SUPPORTED: i32 = ProtoVersion::MaxSupported as i32;
123123
#[pyattr]
124-
const OP_ALL: libc::c_ulong = sys::SSL_OP_ALL & !sys::SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS;
124+
const OP_ALL: libc::c_ulong = (sys::SSL_OP_ALL & !sys::SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS) as _;
125125
#[pyattr]
126126
const HAS_TLS_UNIQUE: bool = true;
127127
#[pyattr]

0 commit comments

Comments
 (0)