diff options
-rw-r--r-- | llvm/include/llvm/Constants.h | 2 |
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. /// |