[asan] fix the va_arg usage

llvm-svn: 163879
This commit is contained in:
Kostya Serebryany 2012-09-14 06:52:46 +00:00
parent 805e39beab
commit 5b0a8f3f53
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ int VSNPrintf(char *buff, int buff_length,
}
case 'c': {
RAW_CHECK_MSG(!have_z, kPrintfFormatsHelp);
result += AppendChar(&buff, buff_end, va_arg(args, uptr));
result += AppendChar(&buff, buff_end, va_arg(args, int));
break;
}
case '%' : {