Commit 114253c5 authored by Manuel Schölling's avatar Manuel Schölling
Browse files

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

parent 62b19e87
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
        }
    }