summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-26 20:32:23 +0200
committerGitHub <noreply@github.com>2017-08-26 20:32:23 +0200
commit53c0010932f9c1becb63c16243f3a00ede359989 (patch)
treed03fc935ffd4d1fbcfe13492bb8b3e53ffd2a546 /core
parent53acb7876d1a3b2c22e29be033bf9ce0e04f309a (diff)
parent3cd3c1da5f965d6cc55134ac812a8ea0fd0dcdd7 (diff)
Merge pull request #10658 from henkz1/android-build
Fix Android build
Diffstat (limited to 'core')
-rw-r--r--core/object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/object.h b/core/object.h
index 88229d27b6..9eb6cd1d56 100644
--- a/core/object.h
+++ b/core/object.h
@@ -571,8 +571,8 @@ public:
#else
if (!p_object)
return NULL;
- if (p_pobject->is_class_ptr(T::get_class_ptr_static()))
- return static_cast<T *>(p_pobject);
+ if (p_object->is_class_ptr(T::get_class_ptr_static()))
+ return static_cast<T *>(p_object);
else
return NULL;
#endif
@@ -591,7 +591,7 @@ public:
#else
if (!p_object)
return NULL;
- if (p_pobject->is_class_ptr(T::get_class_ptr_static()))
+ if (p_object->is_class_ptr(T::get_class_ptr_static()))
return static_cast<const T *>(p_object);
else
return NULL;