From a35bf043f6fb3905738b823cfcc9cea5d32a9aca Mon Sep 17 00:00:00 2001 From: Evgenii Kliuchnikov Date: Fri, 27 Dec 2024 11:25:33 +0000 Subject: [PATCH] Fix gcc8 build --- lib/extras/codec_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/extras/codec_test.cc b/lib/extras/codec_test.cc index e51fb180..476b1657 100644 --- a/lib/extras/codec_test.cc +++ b/lib/extras/codec_test.cc @@ -68,7 +68,7 @@ size_t GetPrecision(JxlDataType data_type) { case JXL_TYPE_FLOAT16: return 11; default: - jxl::test::Check(false); + return jxl::test::Check(false), 8; } } @@ -83,7 +83,7 @@ size_t GetDataBits(JxlDataType data_type) { case JXL_TYPE_FLOAT16: return 16; default: - jxl::test::Check(false); + return jxl::test::Check(false), 8; } }