]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Followup to r14901 (vectorising memcmp): use SizeT instead of Addr
authorJulian Seward <jseward@acm.org>
Wed, 4 Feb 2015 18:46:11 +0000 (18:46 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 4 Feb 2015 18:46:11 +0000 (18:46 +0000)
where appropriate.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14903

shared/vg_replace_strmem.c

index ab1b1a85e7bbc34bb1913583ab694e8c35dc7c56..da00dd17157c20d4184d4923932f0b4e2245b62e 100644 (file)
@@ -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; \
       \