aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-04-25 21:06:53 +0000
committerBill Wendling <isanbard@gmail.com>2009-04-25 21:06:53 +0000
commitc2dbff3ba6dee08d1592edc5c59cbed9c89bf64d (patch)
tree091421c3a1f1c62d622dd84a7430eaa48d30fbab /include
parent8d34844bff997d9587c4d64339f110908e4e720f (diff)
downloadexternal_llvm-c2dbff3ba6dee08d1592edc5c59cbed9c89bf64d.zip
external_llvm-c2dbff3ba6dee08d1592edc5c59cbed9c89bf64d.tar.gz
external_llvm-c2dbff3ba6dee08d1592edc5c59cbed9c89bf64d.tar.bz2
Use intptr_t.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index ae3a85b..2e48097 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.
///