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:
parent
0e2d8ba792
commit
b4f266c4e4
@ -633,7 +633,7 @@ public:
|
||||
|
||||
static FakePointer *create(T thing)
|
||||
{
|
||||
return reinterpret_cast<FakePointer *>(thing);
|
||||
return reinterpret_cast<FakePointer *>(qintptr(thing));
|
||||
}
|
||||
|
||||
T operator * () const
|
||||
|
Loading…
Reference in New Issue
Block a user