summaryrefslogtreecommitdiff
path: root/src/libstddjb/uint64_pack_big.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/uint64_pack_big.c')
-rw-r--r--src/libstddjb/uint64_pack_big.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/uint64_pack_big.c b/src/libstddjb/uint64_pack_big.c
index c0bbcd7..811bd8f 100644
--- a/src/libstddjb/uint64_pack_big.c
+++ b/src/libstddjb/uint64_pack_big.c
@@ -1,10 +1,11 @@
/* ISC license. */
#include <string.h>
+
#include <skalibs/uint64.h>
void uint64_pack_big (char *s, uint64_t u)
{
- u = uint64_big(u) ;
+ uint64_bigp(&u) ;
memcpy(s, &u, sizeof(uint64_t)) ;
}