We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a824e7b commit 906dfd3Copy full SHA for 906dfd3
stdlib/src/ssl.rs
@@ -539,12 +539,12 @@ mod _ssl {
539
540
#[pygetset]
541
fn options(&self) -> libc::c_ulong {
542
- self.ctx.read().options().bits()
+ self.ctx.read().options().bits() as _
543
}
544
#[pygetset(setter)]
545
fn set_options(&self, opts: libc::c_ulong) {
546
self.builder()
547
- .set_options(SslOptions::from_bits_truncate(opts));
+ .set_options(SslOptions::from_bits_truncate(opts as _));
548
549
550
fn protocol(&self) -> i32 {
0 commit comments