'strtoull' and 'strtoll' type signatures

This commit is contained in:
Ian Douglas Scott
2018-11-25 21:17:25 -08:00
parent fdd966629d
commit fc0b7b9111
+2 -2
View File
@@ -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)
}