mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
Fix "%hhi" conversion for kvprintf()
The signedness of "char" is implementation-dependent. Reviewed by: imp,zlei,nightquick@proton.me Pull Request: https://github.com/freebsd/freebsd-src/pull/1290
This commit is contained in:
parent
2eb64df7f5
commit
fc3e5334ab
1 changed files with 1 additions and 1 deletions
|
|
@ -904,7 +904,7 @@ handle_sign:
|
|||
else if (hflag)
|
||||
num = (short)va_arg(ap, int);
|
||||
else if (cflag)
|
||||
num = (char)va_arg(ap, int);
|
||||
num = (signed char)va_arg(ap, int);
|
||||
else
|
||||
num = va_arg(ap, int);
|
||||
number:
|
||||
|
|
|
|||
Loading…
Reference in a new issue