diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-27 15:48:12 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-30 17:46:00 +0200 |
commit | 88b54cc22a45f9724c201e7249ac79deb55ff48a (patch) | |
tree | e6538e9bc7f6633ffbd7868c10e85923e84f6d35 /src/gui/util/qshaderlanguage.cpp | |
parent | 7d33779a795afb54af1a96c0da93b532f9db3ba2 (diff) |
Rework QLocalePrivate::bytearrayToU?LongLong()
Change it to take a QByteArrayView instead of a plain char *; all its
callers do know the size and propagating it enables the implementation
to call strntou?ll() rather than strtou?ll(), thereby escaping the
need for '\0'-termination.
Fixes: QTBUG-74286
Change-Id: Ie9394786e9fcf25c1d1be2421805f47c018d13bb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/gui/util/qshaderlanguage.cpp')
0 files changed, 0 insertions, 0 deletions