diff options
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; } |
