diff options
Diffstat (limited to 'src/libstddjb/uint32_pack.c')
-rw-r--r-- | src/libstddjb/uint32_pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/uint32_pack.c b/src/libstddjb/uint32_pack.c index a06ccf1..b38bfeb 100644 --- a/src/libstddjb/uint32_pack.c +++ b/src/libstddjb/uint32_pack.c @@ -2,10 +2,11 @@ #include <stdint.h> #include <string.h> + #include <skalibs/uint32.h> void uint32_pack (char *s, uint32_t u) { - u = uint32_little(u) ; + uint32_littlep(u) ; memcpy(s, &u, sizeof(uint32_t)) ; } |