[llvm-branch-commits] [llvm-branch] r70074 - /llvm/branches/Apple/Dib/include/llvm/Constants.h
Bill Wendling
isanbard at gmail.com
Sat Apr 25 14:03:18 PDT 2009
Author: void
Date: Sat Apr 25 16:03:17 2009
New Revision: 70074
URL: http://llvm.org/viewvc/llvm-project?rev=70074&view=rev
Log:
Remove warning about 64-bit to 32-bit shortening.
Modified:
llvm/branches/Apple/Dib/include/llvm/Constants.h
Modified: llvm/branches/Apple/Dib/include/llvm/Constants.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/include/llvm/Constants.h?rev=70074&r1=70073&r2=70074&view=diff
==============================================================================
--- llvm/branches/Apple/Dib/include/llvm/Constants.h (original)
+++ llvm/branches/Apple/Dib/include/llvm/Constants.h Sat Apr 25 16:03:17 2009
@@ -845,7 +845,7 @@
/// size() - The length of this string.
///
- unsigned size() const { return StrEnd - StrBegin; }
+ intptr_t size() const { return StrEnd - StrBegin; }
/// begin() - Pointer to the first byte of the string.
///
More information about the llvm-branch-commits
mailing list