summaryrefslogtreecommitdiff
path: root/plugins/Dbx_tree/DatabaseLink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_tree/DatabaseLink.cpp')
-rw-r--r--plugins/Dbx_tree/DatabaseLink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_tree/DatabaseLink.cpp b/plugins/Dbx_tree/DatabaseLink.cpp
index 79c1758fca..cc944cc305 100644
--- a/plugins/Dbx_tree/DatabaseLink.cpp
+++ b/plugins/Dbx_tree/DatabaseLink.cpp
@@ -80,7 +80,7 @@ static int UnloadDatabase(MIDatabase* db)
{
if (gDataBase == db)
gDataBase = NULL;
- delete db;
+ delete (CDataBase*)db;
return 0;
}