summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-doc.c b/src/core/wee-doc.c
index 64f78f97c..dd23b3ccb 100644
--- a/src/core/wee-doc.c
+++ b/src/core/wee-doc.c
@@ -147,11 +147,11 @@ doc_gen_close_file (const char *path, const char *doc, const char *name,
path, DIR_SEPARATOR, doc, name, lang);
rc_temp = weecrypto_hash_file (filename_temp, GCRY_MD_SHA512,
- &hash_temp, NULL);
+ hash_temp, NULL);
if (!rc_temp)
return -1;
- rc = weecrypto_hash_file (filename, GCRY_MD_SHA512, &hash, NULL);
+ rc = weecrypto_hash_file (filename, GCRY_MD_SHA512, hash, NULL);
if (!rc || (memcmp (hash_temp, hash, sizeof (hash)) != 0))
{