summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/extension.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/extension.h b/core/fxcrt/extension.h
index 698bded9b6..877f1ca144 100644
--- a/core/fxcrt/extension.h
+++ b/core/fxcrt/extension.h
@@ -47,7 +47,7 @@ class CFX_CRTFileAccess : public IFX_FileAccess {
IFX_FileAccess* Retain() override {
m_RefCount++;
- return (IFX_FileAccess*)this;
+ return this;
}
void GetPath(CFX_WideString& wsPath) override { wsPath = m_path; }