mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix one of the va_arg() with less than int sized type probelms.
This commit is contained in:
parent
4c4bb98266
commit
8d48b118f2
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ biospnp_call(int func, const char *fmt, ...)
|
|||
switch(*p) {
|
||||
|
||||
case 'w':
|
||||
i = va_arg(ap, u_int16_t);
|
||||
i = va_arg(ap, uint);
|
||||
*(u_int16_t *)argp = i;
|
||||
argp += sizeof(u_int16_t);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue