aboutsummaryrefslogtreecommitdiff
path: root/src/hash/xxh.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-04-05 17:34:39 -0500
committerame <[email protected]>2024-04-05 17:34:39 -0500
commitb51f233bc5e304102a51949db1e235aafe283b8e (patch)
tree25b83526a8c8b057cf9493542fb650ead921d9f3 /src/hash/xxh.c
parentbf8bd006189776ae360977c19e7096d73586fa50 (diff)
fix warnings
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 deb9709..24495c4 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,"%016llx",u);
+ sprintf(digest,"%016lx",u);
lua_pushstring(L, digest);
return 1;