mirror of
https://github.com/tonarino/innernet.git
synced 2025-03-17 21:18:22 +02:00
use proper c char types (#54)
related: https://github.com/tonarino/innernet/issues/50
This commit is contained in:
parent
c4e369ee54
commit
849cc4cd4f
@ -139,7 +139,7 @@ impl FromStr for InterfaceName {
|
||||
return Err(InvalidInterfaceName::InvalidChars);
|
||||
}
|
||||
|
||||
*out = *b as i8;
|
||||
*out = *b as c_char;
|
||||
}
|
||||
|
||||
Ok(Self(buf))
|
||||
|
Loading…
x
Reference in New Issue
Block a user