diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-26 14:43:55 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-11-26 21:39:34 +0000 |
commit | 58b3c7b0d5177e54a4dbb8f4cdbe2fc49804899e (patch) | |
tree | 206804a45ffe1f40120c8264223eb0785e2c32e1 /tools | |
parent | f9af3434498b65ecb89bf7054c71773d066fef0b (diff) |
Fix building the d3d11underqml example with MinGW
Fix format mismatch
qtdeclarative/examples/quick/scenegraph/d3d11underqml/d3d11squircle.cpp:369:16: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'HRESULT' {aka 'long int'} [-Werror=format=]
qFatal("Failed to create buffer: 0x%x", hr);
by casting to uint (as is done in an existing qWarning()).
Change-Id: I9bed3066936af8a1831b695a76d40989a834fde9
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit 203acb1955c889b51b760c3f1410558b524c53d2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions