diff options
| author | ame <[email protected]> | 2024-03-08 14:14:39 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2024-03-08 14:14:39 -0600 |
| commit | 05ae1fc2fef778138bb3a136340dd923ca9687a0 (patch) | |
| tree | 0aae88a063da581c90b2eec987c77a53dda986ef /src/hash/xxh.c | |
| parent | 580c39bb8d128b4f66d1c5d87a98ab7fb44a686b (diff) | |
fixed hashes and net stuff
Diffstat (limited to 'src/hash/xxh.c')
| -rw-r--r-- | src/hash/xxh.c | 2 |
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; |
