From e0e53773e32ec516bcb68409fd60c5dc0b7bc381 Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Wed, 21 Dec 2016 05:40:46 +0200 Subject: [PATCH] Fix a return type --- src/libcompiler_builtins/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcompiler_builtins/lib.rs b/src/libcompiler_builtins/lib.rs index 92c6f8dd728..d9da9ef39d2 100644 --- a/src/libcompiler_builtins/lib.rs +++ b/src/libcompiler_builtins/lib.rs @@ -502,7 +502,7 @@ pub mod reimpls { u128::from_parts(low, high as u64) as i128 } #[cfg(not(windows))] - fn to_ret(self) -> u128ret { + fn to_ret(self) -> i128ret { self } #[cfg(windows)]