[llvm-commits] [llvm] r50946 - /llvm/trunk/include/llvm/Instructions.h
Gabor Greif
gabor at mac.com
Sat May 10 10:57:38 PDT 2008
+ NumOperands = (unsigned)(uintptr_t)((Use*)this - OperandList);
Hi Bill,
wouldn't
+ NumOperands = unsigned((Use*)this - OperandList);
do the job?
Cheers,
Gabor
PS: Sorry for these warnings, neither my
solaris gcc 3.4.6, nor Apple gcc 4.0.1
has shown them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080510/9880b1ed/attachment.html>
More information about the llvm-commits
mailing list