diff options
author | phk <phk@FreeBSD.org> | 2002-05-18 09:12:32 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-05-18 09:12:32 +0000 |
commit | e97ac01e3ed9ca0753d6995c0197970119bb871a (patch) | |
tree | 3f719c171eee4f43eb6528ead178552e6be61680 /sys/boot/i386 | |
parent | 317736446e21f375eb8f5370ac8fb007c6a30654 (diff) | |
download | FreeBSD-src-e97ac01e3ed9ca0753d6995c0197970119bb871a.zip FreeBSD-src-e97ac01e3ed9ca0753d6995c0197970119bb871a.tar.gz |
Fix one of the va_arg() with less than int sized type probelms.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r-- | sys/boot/i386/libi386/biospnp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/biospnp.c b/sys/boot/i386/libi386/biospnp.c index eee77aa..66ef1a5 100644 --- a/sys/boot/i386/libi386/biospnp.c +++ b/sys/boot/i386/libi386/biospnp.c @@ -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; |