From: Julian Seward Date: Wed, 4 Feb 2015 18:46:11 +0000 (+0000) Subject: Followup to r14901 (vectorising memcmp): use SizeT instead of Addr X-Git-Tag: svn/VALGRIND_3_11_0~689 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55a7b396f1f8a3fe904fcf85e8081650e457ba19;p=thirdparty%2Fvalgrind.git Followup to r14901 (vectorising memcmp): use SizeT instead of Addr where appropriate. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14903 --- diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index ab1b1a85e7..da00dd1715 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; \ \