Eliminated all compiler warnings on Android

This commit is contained in:
Andrey Kamaev
2012-02-21 14:07:44 +00:00
parent a8f27e4a84
commit 9a88aea697
3 changed files with 8 additions and 3 deletions
@@ -3655,12 +3655,13 @@ public:
static int isInstance(const void* ptr)
{
static _ClsName dummy;
static void* dummyp = &dummy;
union
{
const void* p;
const void** pp;
} a, b;
a.p = &dummy;
a.p = dummyp;
b.p = ptr;
return *a.pp == *b.pp;
}