[llvm-commits] [llvm] r70148 - /llvm/trunk/include/llvm/ADT/PointerIntPair.h

Chris Lattner clattner at apple.com
Sun Apr 26 12:58:31 PDT 2009


On Apr 26, 2009, at 12:57 PM, Bill Wendling wrote:

> On Apr 26, 2009, at 12:50 PM, Chris Lattner wrote:
>
>> On Apr 26, 2009, at 12:46 PM, Bill Wendling wrote:
>>
>>> Author: void
>>> Date: Sun Apr 26 14:46:41 2009
>>> New Revision: 70148
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=70148&view=rev
>>> Log:
>>> Use uint64_t instead of unsigned.
>>
>> This isn't right for 32-bit hosts!
>>
> Well, it was your suggestion. :-) What do you suggest now? If you  
> use -
> Wshorten-64-to-32 when compiling with -m64, this enum emits warnings.

intptr_t or uintptr_t.

-Chris



More information about the llvm-commits mailing list