From 456b1c6182e72e551dae177c9fa4454cc6fa96ec Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Sun, 3 Oct 2021 10:49:38 +0000 Subject: [PATCH] no need to convert to size_t --- unit/internal/shufti.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }