diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-02 19:50:35 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-10 08:46:23 +0100 |
| commit | 7fa7236b0f2d015b5917b93f7eed533f094a8ebc (patch) | |
| tree | acd528cc1eac52ee62ce20848b62dde8e62331a3 /sources/pyside6/PySide6/glue/qtgui.cpp | |
| parent | 4abc6794b6040fd8d66d40072d41cdfdc418fba1 (diff) | |
shiboken6/AutoArrayPointer: Change to use ssize_t
This fits better with Python's Py_ssize_t and Qt's qsizetype,
otherwise, warnings appear:
PySide6/QtWidgets/PySide6/QtWidgets/qgraphicsview_wrapper.cpp:2757:199: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
T &operator[](int pos) { return data[pos]; }
‘operator[](QGraphicsItem**, Py_ssize_t {aka long int})’ <built-in>
Change-Id: I19264dadfb729d0c4c9604db7973d4a415f45499
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/PySide6/glue/qtgui.cpp')
0 files changed, 0 insertions, 0 deletions
