aboutsummaryrefslogtreecommitdiff
path: root/src/hash/xxh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/xxh.c')
-rw-r--r--src/hash/xxh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/xxh.c b/src/hash/xxh.c
index 74cb202..deb9709 100644
--- a/src/hash/xxh.c
+++ b/src/hash/xxh.c
@@ -129,7 +129,7 @@ int l_xxh64(lua_State* L){
char digest[64];
uint64_t u = i_xxhash64(a, seed, len);
- sprintf(digest,"%lx",u);
+ sprintf(digest,"%016llx",u);
lua_pushstring(L, digest);
return 1;