Fix wrong parameter order for memcpy in btoh128 function

This commit is contained in:
Claudio Takahasi 2011-02-11 15:51:38 -02:00 committed by Johan Hedberg
parent 2cc99a5ea6
commit b67bf675e3

View File

@ -96,7 +96,7 @@ static inline void ntoh128(uint128_t *src, uint128_t *dst)
static inline void btoh128(uint128_t *src, uint128_t *dst)
{
memcpy(src, dst, sizeof(uint128_t));
memcpy(dst, src, sizeof(uint128_t));
}
#endif