diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-05-26 09:14:15 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2020-06-23 00:29:31 +0000 |
commit | cdcb75c46b968dbfeb1992c6bee19aceda27da38 (patch) | |
tree | 03f3e50d450e3b84a4dd4a39b041585faaa47d5d /tests | |
parent | 04b120bc3c6fd20ff47582fd4e0ba30e1f3677ae (diff) |
QMimeDatabase/zlib: fix build with z_const macro empty
The next_in pointer in z_stream is defined as "z_const Bytef *" but
z_const is actually an empty macro in most builds. Since our data is
read-only constexpr, we need this const_cast to compile.
Fixes: QTBUG-84457
Pick-to: 5.15
Change-Id: Ied637aece2a7427b8a2dfffd1612a01ae46f7c1a
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions