summaryrefslogtreecommitdiffstats
path: root/core/cloudstorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/cloudstorage.cpp')
-rw-r--r--core/cloudstorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cloudstorage.cpp b/core/cloudstorage.cpp
index 5a1f2b06a..11743303c 100644
--- a/core/cloudstorage.cpp
+++ b/core/cloudstorage.cpp
@@ -64,7 +64,7 @@ void CloudStorageAuthenticate::uploadFinished()
csSettings.setVerificationStatus(CS_NEED_TO_VERIFY);
report_error(qPrintable(tr("Cloud account verification required, enter PIN in preferences")));
} else if (cloudAuthReply == QLatin1String("[PASSWDCHANGED]")) {
- free(prefs.cloud_storage_password);
+ free((void *)prefs.cloud_storage_password);
prefs.cloud_storage_password = prefs.cloud_storage_newpassword;
prefs.cloud_storage_newpassword = NULL;
emit passwordChangeSuccessful();