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
commit37a4bcc40e52181d9e35663115196534ff2a2442 (patch)
tree9c2910b38b02f963e751f9b7a12573b3480bb500 /src/hash/xxh.c
parent7fbafae25ca81e9acb745fd75ef7f1be55ad7d92 (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;