summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr/assoclist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AssocMgr/assoclist.cpp')
-rw-r--r--plugins/AssocMgr/assoclist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AssocMgr/assoclist.cpp b/plugins/AssocMgr/assoclist.cpp
index 26a72a43da..03c016ce54 100644
--- a/plugins/AssocMgr/assoclist.cpp
+++ b/plugins/AssocMgr/assoclist.cpp
@@ -614,7 +614,7 @@ INT_PTR InvokeFileHandler(const TCHAR *pszFileName)
INT_PTR res = CALLSERVICE_NOTFOUND;
/* find extension */
- p = _tcsrchr(pszFileName, _T('.'));
+ p = (TCHAR*)_tcsrchr(pszFileName, _T('.'));
if(p!= NULL) {
pszFileExt = t2a(p);
if(pszFileExt!= NULL) {