From fc0b7b91114f1348d0977a12b5fb9db9ce8b625a Mon Sep 17 00:00:00 2001
From: Ian Douglas Scott <ian@iandouglasscott.com>
Date: Sun, 25 Nov 2018 21:17:25 -0800
Subject: [PATCH] 'strtoull' and 'strtoll' type signatures

---
 src/header/stdlib/mod.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/header/stdlib/mod.rs b/src/header/stdlib/mod.rs
index e518b0505..859b7bba8 100644
--- a/src/header/stdlib/mod.rs
+++ b/src/header/stdlib/mod.rs
@@ -855,7 +855,7 @@ pub unsafe extern "C" fn strtoull(
     s: *const c_char,
     endptr: *mut *mut c_char,
     base: c_int,
-) -> c_ulong {
+) -> c_ulonglong {
     strtoul(s, endptr, base)
 }
 
@@ -864,7 +864,7 @@ pub unsafe extern "C" fn strtoll(
     s: *const c_char,
     endptr: *mut *mut c_char,
     base: c_int,
-) -> c_long {
+) -> c_longlong {
     strtol(s, endptr, base)
 }
 
-- 
GitLab