diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 12:27:07 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 12:27:07 +0000 |
commit | 50fb93f0bd6075a0f3cfb77abfc5a3aa9d75a5a6 (patch) | |
tree | 732a624aeabea094d56e00e08327e88f0a16f806 /plugins/Db_autobackups/backup.cpp | |
parent | d3ac0d2b927ec6d952116c1084b0ee7c147e34f2 (diff) |
Db_autobackups:
plusified
git-svn-id: http://svn.miranda-ng.org/main/trunk@544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/backup.cpp')
-rw-r--r-- | plugins/Db_autobackups/backup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db_autobackups/backup.cpp b/plugins/Db_autobackups/backup.cpp index fd27c9f09f..a6b78dace2 100644 --- a/plugins/Db_autobackups/backup.cpp +++ b/plugins/Db_autobackups/backup.cpp @@ -180,7 +180,7 @@ int Backup(TCHAR* backup_filename) dest_file_len = lstrlen(dest_file);
if(dest_file_len > 50)
{
- puText = mir_alloc(sizeof(TCHAR) * (dest_file_len + 2));
+ puText = (TCHAR*)mir_alloc(sizeof(TCHAR) * (dest_file_len + 2));
for(i = (int)dest_file_len - 1; dest_file[i] != _T('\\'); i--);
lstrcpyn(puText, dest_file, i + 2);
|