Use correct type in va_arg argument.
This commit is contained in:
parent
cf81114dc4
commit
500b77c7ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162523
@ -1546,7 +1546,7 @@ reswitch: switch (ch) {
|
||||
(*argtable) [n].sizearg = va_arg (ap, size_t);
|
||||
break;
|
||||
case TP_SIZET:
|
||||
(*argtable) [n].psizearg = va_arg (ap, ssize_t *);
|
||||
(*argtable) [n].psizearg = va_arg (ap, size_t *);
|
||||
break;
|
||||
case T_INTMAXT:
|
||||
(*argtable) [n].intmaxarg = va_arg (ap, intmax_t);
|
||||
|
@ -1538,7 +1538,7 @@ reswitch: switch (ch) {
|
||||
(*argtable) [n].sizearg = va_arg (ap, size_t);
|
||||
break;
|
||||
case TP_SIZET:
|
||||
(*argtable) [n].psizearg = va_arg (ap, ssize_t *);
|
||||
(*argtable) [n].psizearg = va_arg (ap, size_t *);
|
||||
break;
|
||||
case T_INTMAXT:
|
||||
(*argtable) [n].intmaxarg = va_arg (ap, intmax_t);
|
||||
|
Loading…
Reference in New Issue
Block a user