aboutsummaryrefslogtreecommitdiff
path: root/src/hash/xxh.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-04-08 10:31:23 -0500
committerame <[email protected]>2024-04-08 10:31:23 -0500
commit67732c42a3c5d98256674f827af1ac4a17015538 (patch)
tree9c2910b38b02f963e751f9b7a12573b3480bb500 /src/hash/xxh.c
parentd3f3a8a1f3e786965ae473c046db2c34d7d3adb6 (diff)
sha256 & sha224
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 24495c4..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,"%016lx",u);
+ sprintf(digest,"%016llx",u);
lua_pushstring(L, digest);
return 1;