diff options
| author | ame <[email protected]> | 2024-04-08 10:31:23 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2024-04-08 10:31:23 -0500 |
| commit | 37a4bcc40e52181d9e35663115196534ff2a2442 (patch) | |
| tree | 9c2910b38b02f963e751f9b7a12573b3480bb500 /src/hash/fasthash.c | |
| parent | 7fbafae25ca81e9acb745fd75ef7f1be55ad7d92 (diff) | |
sha256 & sha224
Diffstat (limited to 'src/hash/fasthash.c')
| -rw-r--r-- | src/hash/fasthash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/fasthash.c b/src/hash/fasthash.c index bef892b..993a22a 100644 --- a/src/hash/fasthash.c +++ b/src/hash/fasthash.c @@ -62,7 +62,7 @@ int l_fasthash64(lua_State* L){ char digest[64]; uint64_t u = fasthash64(a, len, seed); - sprintf(digest,"%016lx",u); + sprintf(digest,"%016llx",u); lua_pushstring(L, digest); return 1; } |
