diff options
| author | ame <[email protected]> | 2024-04-05 17:34:39 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2024-04-05 17:34:39 -0500 |
| commit | b51f233bc5e304102a51949db1e235aafe283b8e (patch) | |
| tree | 25b83526a8c8b057cf9493542fb650ead921d9f3 /src/hash/loselose.c | |
| parent | bf8bd006189776ae360977c19e7096d73586fa50 (diff) | |
fix warnings
Diffstat (limited to 'src/hash/loselose.c')
| -rw-r--r-- | src/hash/loselose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/loselose.c b/src/hash/loselose.c index 55d3fc6..737fd2c 100644 --- a/src/hash/loselose.c +++ b/src/hash/loselose.c @@ -33,7 +33,7 @@ int l_loselose_final(lua_State* L){ struct loselose_hash* a = (struct loselose_hash*)lua_touserdata(L, -1); uint64_t u = loselose_final(a); char digest[64]; - sprintf(digest,"%08x",u); + sprintf(digest,"%08lx",u); lua_pushstring(L, digest); return 1; } |
