From c2dbff3ba6dee08d1592edc5c59cbed9c89bf64d Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 25 Apr 2009 21:06:53 +0000 Subject: [PATCH] Use intptr_t. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70076 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index ae3a85bc386..2e48097f3e7 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. ///