diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-07-31 16:13:06 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-08-01 19:08:48 +0000 |
commit | b4f266c4e43c457f4d8b52d898cbb3f3066d40fa (patch) | |
tree | 79471c371b42f91d52fbbe63b20af8b0e888a958 | |
parent | 0e2d8ba7929df52b727c2d31315d1b8f10857b01 (diff) | |
download | qtbase-b4f266c4e43c457f4d8b52d898cbb3f3066d40fa.tar.gz |
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>
-rw-r--r-- | src/plugins/platforms/windows/qwindowstheme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/qwindowstheme.cpp b/src/plugins/platforms/windows/qwindowstheme.cpp index a541fd4629..33c7ccfdce 100644 --- a/src/plugins/platforms/windows/qwindowstheme.cpp +++ b/src/plugins/platforms/windows/qwindowstheme.cpp @@ -633,7 +633,7 @@ public: static FakePointer *create(T thing) { - return reinterpret_cast<FakePointer *>(thing); + return reinterpret_cast<FakePointer *>(qintptr(thing)); } T operator * () const |