OSDN Git Service

shared: Add get_le64()
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 20 Mar 2014 14:42:29 +0000 (11:42 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 21 Mar 2014 08:36:07 +0000 (10:36 +0200)
commit02f6bbbbb2eb4daa033d2fa3dea8485522dc5fb2
treef87f482bc08ae8fd7d786563604a0673bceaea58
parent57a41c6c9fc3f67155a66286db63dd7e1f4628df
shared: Add get_le64()

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