diff --git a/llvm/include/llvm/Support/FormatCommon.h b/llvm/include/llvm/Support/FormatCommon.h index 3c119d12529ae..24a40c325e131 100644 --- a/llvm/include/llvm/Support/FormatCommon.h +++ b/llvm/include/llvm/Support/FormatCommon.h @@ -66,8 +66,8 @@ struct FmtAlign { } private: - void fill(llvm::raw_ostream &S, uint32_t Count) { - for (uint32_t I = 0; I < Count; ++I) + void fill(llvm::raw_ostream &S, size_t Count) { + for (size_t I = 0; I < Count; ++I) S << Fill; } };