mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
10 lines
165 B
C
10 lines
165 B
C
|
#include "uint32_pack.h"
|
||
|
|
||
|
void uint32_pack(unsigned char *y,crypto_uint32 x)
|
||
|
{
|
||
|
*y++ = x; x >>= 8;
|
||
|
*y++ = x; x >>= 8;
|
||
|
*y++ = x; x >>= 8;
|
||
|
*y++ = x; x >>= 8;
|
||
|
}
|