]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
no need to convert to size_t
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Sun, 3 Oct 2021 10:49:38 +0000 (10:49 +0000)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 12 Oct 2021 08:51:35 +0000 (11:51 +0300)
unit/internal/shufti.cpp

index f073fc9ca84fd8f792f6bad51e687a829666d6c6..fb8d58a843da009a012d2422bcdb0f57005482f1 100644 (file)
@@ -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);
     }
 }