소스 검색

'strtoull' and 'strtoll' type signatures

Ian Douglas Scott 6 년 전
부모
커밋
fc0b7b9111
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/header/stdlib/mod.rs

+ 2 - 2
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)
 }