summaryrefslogtreecommitdiff
path: root/include/llvm/Support/FormattedStream.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-16 15:24:40 +0000
committerDan Gohman <gohman@apple.com>2009-07-16 15:24:40 +0000
commitad60f660c6fd1999a3e21823128d37aca62e9285 (patch)
tree8e207c767d66af28ad41f472069d25721d66661b /include/llvm/Support/FormattedStream.h
parentebfe2b27223d4b177f05bc1b003f83f4a7044066 (diff)
downloadllvm-ad60f660c6fd1999a3e21823128d37aca62e9285.tar.gz
llvm-ad60f660c6fd1999a3e21823128d37aca62e9285.tar.bz2
llvm-ad60f660c6fd1999a3e21823128d37aca62e9285.tar.xz
Use size_t.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FormattedStream.h')
-rw-r--r--include/llvm/Support/FormattedStream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/FormattedStream.h b/include/llvm/Support/FormattedStream.h
index 7260c3fba3..1c50476a63 100644
--- a/include/llvm/Support/FormattedStream.h
+++ b/include/llvm/Support/FormattedStream.h
@@ -47,7 +47,7 @@ namespace llvm
///
unsigned Column;
- virtual void write_impl(const char *Ptr, unsigned Size) {
+ virtual void write_impl(const char *Ptr, size_t Size) {
ComputeColumn(Ptr, Size);
TheStream->write(Ptr, Size);
}
@@ -63,7 +63,7 @@ namespace llvm
/// ComputeColumn - Examine the current output and figure out
/// which column we end up in after output.
///
- void ComputeColumn(const char *Ptr, unsigned Size);
+ void ComputeColumn(const char *Ptr, size_t Size);
public:
/// formatted_raw_ostream - Open the specified file for