Use correct type in va_arg argument.

This commit is contained in:
Alexander Kabaev 2006-09-21 14:40:20 +00:00
parent cf81114dc4
commit 500b77c7ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162523
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);