From 55a7b396f1f8a3fe904fcf85e8081650e457ba19 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 4 Feb 2015 18:46:11 +0000 Subject: [PATCH] Followup to r14901 (vectorising memcmp): use SizeT instead of Addr where appropriate. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14903 --- shared/vg_replace_strmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index ab1b1a85e..da00dd171 100644 --- a/shared/vg_replace_strmem.c +++ b/shared/vg_replace_strmem.c @@ -959,8 +959,8 @@ static inline void my_exit ( int x ) int VG_REPLACE_FUNCTION_EZU(20190,soname,fnname) \ ( const void *s1V, const void *s2V, SizeT n ) \ { \ - const Addr WS = sizeof(UWord); /* 8 or 4 */ \ - const Addr WM = WS - 1; /* 7 or 3 */ \ + const SizeT WS = sizeof(UWord); /* 8 or 4 */ \ + const SizeT WM = WS - 1; /* 7 or 3 */ \ Addr s1A = (Addr)s1V; \ Addr s2A = (Addr)s2V; \ \