diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-04-25 21:06:53 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-04-25 21:06:53 +0000 |
commit | c2dbff3ba6dee08d1592edc5c59cbed9c89bf64d (patch) | |
tree | 091421c3a1f1c62d622dd84a7430eaa48d30fbab | |
parent | 8d34844bff997d9587c4d64339f110908e4e720f (diff) |
Use intptr_t.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70076 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index ae3a85bc38..2e48097f3e 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -845,7 +845,7 @@ public: /// size() - The length of this string. /// - size_t size() const { return StrEnd - StrBegin; } + intptr_t size() const { return StrEnd - StrBegin; } /// begin() - Pointer to the first byte of the string. /// |