summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--partition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partition.cpp b/partition.cpp
index 065154150..6a7ad718d 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -1386,7 +1386,7 @@ bool TWPartition::Wipe_Encryption() {
if (Is_Decrypted) {
if (!UnMount(true))
return false;
- if (delete_crypto_blk_dev("userdata") != 0) {
+ if (delete_crypto_blk_dev((char*)("userdata")) != 0) {
LOGERR("Error deleting crypto block device, continuing anyway.\n");
}
}