aboutsummaryrefslogtreecommitdiff
path: root/src/hash/blake.c
diff options
context:
space:
mode:
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
+}