"BinaryObject.h was implicitly converting between uint{16,32,64}_t to
authorChris Lattner <sabre@nondot.org>
Tue, 7 Jul 2009 18:28:00 +0000 (18:28 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 7 Jul 2009 18:28:00 +0000 (18:28 +0000)
commit393aec6a44e8c2df558a08ce2b49f8b899108c39
tree87048c2c6cda4cec81219f43f3b2ce52dd75b33c
parentdf225c0253aa987830fbd3dfcb5d9f8f7f973336
"BinaryObject.h was implicitly converting between uint{16,32,64}_t to
uint8_t (via 'foo & 255'), i replaced this with an explicit (uint8_t)
cast which is equivalent, faster and more correct (silences
type-related warnings). Also, following coding standards I replaced
post-increment with pre-increment."

Patch by Ryan Flynn!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74929 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/BinaryObject.h