use proper c char types (#54)

related: https://github.com/tonarino/innernet/issues/50
pull/59/head
Matt Blessed 2021-04-19 02:23:46 -04:00 committed by GitHub
parent c4e369ee54
commit 849cc4cd4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ impl FromStr for InterfaceName {
return Err(InvalidInterfaceName::InvalidChars);
}
*out = *b as i8;
*out = *b as c_char;
}
Ok(Self(buf))