aboutsummaryrefslogtreecommitdiff
path: root/src/hash/xxh.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-03-08 14:14:39 -0600
committerame <[email protected]>2024-03-08 14:14:39 -0600
commit652146a3a4780ede6cc99ae56871f8f6bb506284 (patch)
tree0aae88a063da581c90b2eec987c77a53dda986ef /src/hash/xxh.c
parent935cd9eed5863614dbb2c677c95aee73753e611f (diff)
fixed hashes and net stuff
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;