From: Konstantinos Margaritis Date: Sun, 3 Oct 2021 10:49:38 +0000 (+0000) Subject: no need to convert to size_t X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef7da97aa19ba69c2df28d9fcfda3b9c7521a488;p=thirdparty%2Fvectorscan.git no need to convert to size_t --- diff --git a/unit/internal/shufti.cpp b/unit/internal/shufti.cpp index f073fc9c..fb8d58a8 100644 --- a/unit/internal/shufti.cpp +++ b/unit/internal/shufti.cpp @@ -899,7 +899,7 @@ TEST(DoubleShufti, ExecMatchMixed3) { const u8 *rv = shuftiDoubleExec(lo1, hi1, lo2, hi2, (u8 *)t2, (u8 *)t2 + len); - ASSERT_EQ((size_t)&t2[len - i], (size_t)rv); + ASSERT_EQ((const u8 *)&t2[len - i], rv); } }