fix compilation of 2214

This commit is contained in:
Niko Matsakis 2012-08-03 08:05:04 -07:00
parent 336be1d644
commit cc1a2f2128

View File

@ -6,7 +6,7 @@ fn to_c_int(v: &mut int) -> &mut c_int unsafe {
}
fn lgamma(n: c_double, value: &mut int) -> c_double {
return m::lgamma(n, to_c_uint(value));
return m::lgamma(n, to_c_int(value));
}
#[link_name = "m"]