Change SslContext::set_read_ahead(c_long) to SslContext::set_read_ahead(u32)

This commit is contained in:
Manuel Schölling 2015-03-19 09:18:20 +01:00
parent 62b19e87e8
commit 114253c55e
1 changed files with 2 additions and 2 deletions

View File

@ -423,9 +423,9 @@ impl SslContext {
}
}
pub fn set_read_ahead(&self, m: c_long) {
pub fn set_read_ahead(&self, m: u32) {
unsafe {
ffi::SSL_CTX_set_read_ahead(*self.ctx, m);
ffi::SSL_CTX_set_read_ahead(*self.ctx, m as c_long);
}
}