STABLE14-audit-use-va-arg-20050729

FIXES 20311

use va_arg instead of int


(cherry picked from commit 57bb8e09a33b9cabba8768d5261b8a85366e0307)
This commit is contained in:
Stefaan De Roeck 2005-07-29 15:32:10 +00:00 committed by Derrick Brashear
parent b191cd6372
commit 106d28a774

View File

@ -88,7 +88,7 @@ audmakebuf(char *audEvent, va_list vaList)
bufferPtr += sizeof(vaLong);
break;
case AUD_LST: /* Ptr to another list */
vaLst = (va_list)va_arg(vaList, va_list);
vaLst = va_arg(vaList, va_list);
audmakebuf(audEvent, vaLst);
break;
case AUD_FID: /* AFSFid - contains 3 entries */