summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/fontdatabases/windows/qwindowsfontenginedirectwrite.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-01-11 12:36:01 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-01-12 23:52:37 +0100
commita16c37b78fff5c4b24328d52bf9b2c7f57db0d12 (patch)
tree920b8d22318c2ea3addaf2db9aa3118ba6a2b3ac /src/platformsupport/fontdatabases/windows/qwindowsfontenginedirectwrite.cpp
parent76c4c5d5581b2cd36a043234eb167dd55041301d (diff)
Enforce that char16_t / char32_t are 16/32 bits
The standard makes them as big as int_least16_t / 32_t, i.e. big enough to hold UTF-16 / UTF-32 code units. We're relying on them to be *exactly* 16/32 bit instead. Drive by: move the check that a char is 8 bits before saying that some other type is not its expected sizeof() * 8. Change-Id: Idbf3d33331667d417702d9dde221905bcfc4d021 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/platformsupport/fontdatabases/windows/qwindowsfontenginedirectwrite.cpp')
0 files changed, 0 insertions, 0 deletions