OSDN Git Service

shared: Add put_be64()
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 20 Mar 2014 14:42:35 +0000 (11:42 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 21 Mar 2014 08:36:16 +0000 (10:36 +0200)
commit74fe27e9dc6de491466c22f896a4dee0f13c7231
treea7271c4cb338a59a59ae2315de3743257d872136
parentfe10be26419bcd95f43efea34ee2a6aeec733853
shared: Add put_be64()

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