Some type signature fixes found using script in #111

This commit is contained in:
Ian Douglas Scott
2018-11-25 20:58:02 -08:00
parent 96cc56a0b5
commit fdd966629d
4 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ pub extern "C" fn regexec(
#[no_mangle]
#[linkage = "weak"] // redefined in GIT
pub extern "C" fn regerror(code: c_int, _regex: *const regex_t, out: *mut c_char, max: c_int) {
pub extern "C" fn regerror(code: c_int, _regex: *const regex_t, out: *mut c_char, max: size_t) {
let string = match code {
0 => "No error\0",
REG_NOMATCH => "No match\0",