summaryrefslogtreecommitdiffstats
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
commit13535ceb1046b3b96e1a891ba5b0c7c0f4b3eef8 (patch)
tree5e5fcf4814da98c5aebbf25fee00541eace5137b
parent5287b4e8ec8a53ee1807007e8869f1a3d3c83ec0 (diff)
downloadbcm5719-llvm-13535ceb1046b3b96e1a891ba5b0c7c0f4b3eef8.tar.gz
bcm5719-llvm-13535ceb1046b3b96e1a891ba5b0c7c0f4b3eef8.zip
Use intptr_t.
llvm-svn: 70076
-rw-r--r--llvm/include/llvm/Constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Constants.h b/llvm/include/llvm/Constants.h
index ae3a85bc386..2e48097f3e7 100644
--- a/llvm/include/llvm/Constants.h
+++ b/llvm/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.
///
OpenPOWER on IntegriCloud