aboutsummaryrefslogtreecommitdiff
path: root/src/hash/blake.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
commitf5d49966a4faa3bfff25e7bdeb262c2d9853cd3a (patch)
tree25b83526a8c8b057cf9493542fb650ead921d9f3 /src/hash/blake.c
parent7e6d58c143e1f3b1384ca2e798825ff3ed9469ec (diff)
fix warnings
Diffstat (limited to 'src/hash/blake.c')
-rw-r--r--src/hash/blake.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/blake.c b/src/hash/blake.c
index b1df1f7..6fcdae9 100644
--- a/src/hash/blake.c
+++ b/src/hash/blake.c
@@ -210,7 +210,7 @@ void blake512(char *out, char *in, uint64_t inlen, enum blake512_v v){
}
for(int i = 0; i != (v==b512?8:6); i++){
- sprintf(out, "%s%016llx",out, (hash)[i]);
+ sprintf(out, "%s%016lx",out, (hash)[i]);
}
}
@@ -268,4 +268,4 @@ int l_blake384(lua_State* L){
lua_pushstring(L, digest);
return 1;
-} \ No newline at end of file
+}