diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-10-30 12:18:16 +0800 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-11-01 15:58:47 +0800 |
commit | a20d9a570006ca1287d544785f4f1a21a7be18c1 (patch) | |
tree | 59307cfeda9a0813bc176d90b3cf518b4989784b /src/3rdparty/harfbuzz-ng/src/hb-version.h | |
parent | daf15a4aafdcd6978916bef2dae1fb2f2f5e62da (diff) |
Fix warning for 32bit builds
When building for 32bit platforms (e.g. Android armv7a), then printing
qsizetype value using printf's %lld format generates a warning because
qsizetype is just an int. This breaks the build, and can't be fixed
by using another placeholder without producing a warning on 64bit
builds. So fix it by casting the qsizetype always to 64bit signed int.
Change-Id: Ie7c0fa8b3a0fe6366ce6fd5b2947f42a3e67c381
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/hb-version.h')
0 files changed, 0 insertions, 0 deletions