Change SslContext::set_read_ahead(c_long) to SslContext::set_read_ahead(u32)
This commit is contained in:
parent
62b19e87e8
commit
114253c55e
|
|
@ -423,9 +423,9 @@ impl SslContext {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_read_ahead(&self, m: c_long) {
|
pub fn set_read_ahead(&self, m: u32) {
|
||||||
unsafe {
|
unsafe {
|
||||||
ffi::SSL_CTX_set_read_ahead(*self.ctx, m);
|
ffi::SSL_CTX_set_read_ahead(*self.ctx, m as c_long);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue