OSDN Git Service

shared: Add get_le32()
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 20 Mar 2014 14:42:28 +0000 (11:42 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 21 Mar 2014 08:36:05 +0000 (10:36 +0200)
commit57a41c6c9fc3f67155a66286db63dd7e1f4628df
tree9d43daa97ec185c4f01a65390eb857244eaecb88
parentc83287d20e29eb11e7766b84067bd4c2fcfb2449
shared: Add get_le32()

Add helper to avoid possible unaligned memory access when handling
uint32 value using little-endian representation.
src/shared/util.h