summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-10-10 14:18:50 +0000
committerdfr <dfr@FreeBSD.org>2000-10-10 14:18:50 +0000
commit179e13b0afc113b410454e1768e08f54ebdb6a43 (patch)
treeafb3a998bc239ca3997a7f85728bd672990d5b53 /sys/dev/ppbus
parent015b32177b63528962b5701e2aab68c23973b703 (diff)
downloadFreeBSD-src-179e13b0afc113b410454e1768e08f54ebdb6a43.zip
FreeBSD-src-179e13b0afc113b410454e1768e08f54ebdb6a43.tar.gz
A quote from the ia64 compiler:
`char' is promoted to `int' when passed through `...' (so you should pass `int' not `char' to `va_arg')
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/ppb_msq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/ppb_msq.c b/sys/dev/ppbus/ppb_msq.c
index 61c325c..6cd99a0 100644
--- a/sys/dev/ppbus/ppb_msq.c
+++ b/sys/dev/ppbus/ppb_msq.c
@@ -218,7 +218,7 @@ ppb_MS_init_msq(struct ppb_microseq *msq, int nbparam, ...)
break;
case MS_TYP_CHA:
- msq[ins].arg[arg].i = (int)va_arg(p_list, char);
+ msq[ins].arg[arg].i = (int)va_arg(p_list, int);
break;
case MS_TYP_PTR:
OpenPOWER on IntegriCloud