dav/pwd.c

changeset 515
2465dd550bb5
parent 489
fb69eae42ef0
child 608
3e4c0285a868
--- a/dav/pwd.c	Tue Feb 26 10:34:10 2019 +0100
+++ b/dav/pwd.c	Tue Feb 26 10:40:23 2019 +0100
@@ -232,7 +232,7 @@
 int pwdstore_setpassword(PwdStore *p, const char *password) {
     DavKey *key = dav_pw2key(
             password,
-            p->content->space + 4,
+            (unsigned char*)(p->content->space + 4),
             16,
             PWDS_PWFUNC(p),
             PWDS_ENC(p));

mercurial