diff options
-rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_printf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc b/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc index 6aeedabdf3f..93d4fa9783a 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc @@ -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 '%' : { |