diff options
Diffstat (limited to 'src/libstddjb/uint32_pack.c')
-rw-r--r-- | src/libstddjb/uint32_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/uint32_pack.c b/src/libstddjb/uint32_pack.c index b38bfeb..9cc7e2a 100644 --- a/src/libstddjb/uint32_pack.c +++ b/src/libstddjb/uint32_pack.c @@ -7,6 +7,6 @@ void uint32_pack (char *s, uint32_t u) { - uint32_littlep(u) ; + uint32_littlep(&u) ; memcpy(s, &u, sizeof(uint32_t)) ; } |