Skip to content

Commit cc1a2f2

Browse files
committed
fix compilation of 2214
1 parent 336be1d commit cc1a2f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/issue-2214.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fn to_c_int(v: &mut int) -> &mut c_int unsafe {
66
}
77

88
fn lgamma(n: c_double, value: &mut int) -> c_double {
9-
return m::lgamma(n, to_c_uint(value));
9+
return m::lgamma(n, to_c_int(value));
1010
}
1111

1212
#[link_name = "m"]

0 commit comments

Comments
 (0)