diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-03 17:19:05 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-15 08:27:11 +0100 |
commit | 017a9099115c97ddec31a4335677ac43e9539b9f (patch) | |
tree | 94f014ea95d7b1143d866ebfd01d1725540523a4 /tools | |
parent | f96e2fc175f073c823d208fbf068ebd621dfb593 (diff) |
Fix broken return type conversions of QOpenGLExtraFunctions::glGetStringi()
The function returns const unsigned char*, which was converted using
the wrong snippet (QString conversion of parameter 1). Add a new snippet
using the char *conversion of the return value at the end.
Fixes warning:
PySide6/QtGui/PySide6/QtGui/qopenglextrafunctions_wrapper.cpp:4630:35: warning: unused variable cppResunused-variable]
const unsigned char * cppResult = cppSelf->glGetStringi(cppArg0, cppArg1);
Change-Id: Iae3f0abd4a34fb3b6a41534508fb5d64a3eae224
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 7cd7141e43e98d4862de3aadf128b0d0080090c9)
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions