diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-02 17:34:44 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-06 14:29:18 +0200 |
| commit | 0dca7afaee30278ed8b1717784c5e61f3c661392 (patch) | |
| tree | 261255059276677877f3a431c42890ed99b99ad7 /src/gui/platform/unix/qunixnativeinterface.cpp | |
| parent | 47ead6ce2c562712fe0774cab8ee354b795359f6 (diff) | |
replaceArgEscapes(): use qsizetype in place of int ant uint
The uint, particularly, was requiring some contortions to avoid
getting a "negative" value, where using qsizetype makes it harmless,
as the resulting loops are then no-ops. In the process, document the
slightly eccentric semantics of one of the retyped variables.
Change-Id: Idaad4cfde9ed9d24e1bcbf03c2bdb10b62e07916
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions
