qwindowstheme.cpp: Fix compiler warnings by MSVC2015 (64bit).

qwindowstheme.cpp(635): warning C4312: 'reinterpret_cast': conversion from 'int' to 'FakePointer<int> *' of greater size

Change-Id: Ia2b7c14a5f31bd29243302e76105ad97563951b2
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
This commit is contained in:
Friedemann Kleint 2015-07-31 16:13:06 +02:00
parent 0e2d8ba792
commit b4f266c4e4

View File

@ -633,7 +633,7 @@ public:
static FakePointer *create(T thing)
{
return reinterpret_cast<FakePointer *>(thing);
return reinterpret_cast<FakePointer *>(qintptr(thing));
}
T operator * () const