summaryrefslogtreecommitdiffstats
path: root/src/sql/models/qsqlrelationaltablemodel.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-07-22 15:30:37 +0200
committerMarc Mutz <marc.mutz@qt.io>2024-07-22 21:08:32 +0200
commit61e4be2b62f9b6556a145f226850bf5e62d53e9d (patch)
treea2b41371ec539dce026e1165efc2d5df561cb3d4 /src/sql/models/qsqlrelationaltablemodel.cpp
parent829caad5e773245b7d712bce4b7e53e9377e3764 (diff)
tst_QDeadlineTimer: fix format-string in toString() implementation
The second value (like the first) has type qint64 (aka long long), so %d is wrong; need to use %lld instead. Found while porting to std::snprintf() (qsnprintf() never actually got the __attribute__((printf)), so compilers didn't warn). Drive-by replace qAbs() with std::abs(). Amends 13c3558fe9967391374555cfeb3209b961a86084. Pick-to: 6.8 6.7 6.5 Change-Id: I9082a1aceefe8a5b04ad0d5725ab666e23483b29 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/sql/models/qsqlrelationaltablemodel.cpp')
0 files changed, 0 insertions, 0 deletions