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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/blake.c b/src/hash/blake.c
index 6fcdae9..e027b10 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%016lx",out, (hash)[i]);
+ sprintf(out, "%s%016llx",out, (hash)[i]);
}
}