Commit 7d374b7b authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

QString::vasprintf(): Use quintptr when casting pointer for %p.


Previously, the macro Q_OS_WIN64 was checked, causing warnings:

tools\qstring.cpp(6183): warning C4311: 'reinterpret_cast': pointer truncation from 'void *' to 'unsigned long'
tools\qstring.cpp(6183): warning C4302: 'reinterpret_cast': truncation from 'void *' to 'unsigned long'

when compiling WinRT/64bit, where it is not defined.

Change-Id: Ib9d8405108c85170aba18b13f9c64083136bc5ee
Reviewed-by: default avatarMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>
Reviewed-by: default avatarMarc Mutz <marc.mutz@kdab.com>
parent 62e89f47
No related merge requests found
Showing with 1 addition and 5 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment