|
From: <sv...@va...> - 2015-02-04 18:46:18
|
Author: sewardj
Date: Wed Feb 4 18:46:11 2015
New Revision: 14903
Log:
Followup to r14901 (vectorising memcmp): use SizeT instead of Addr
where appropriate.
Modified:
trunk/shared/vg_replace_strmem.c
Modified: trunk/shared/vg_replace_strmem.c
==============================================================================
--- trunk/shared/vg_replace_strmem.c (original)
+++ trunk/shared/vg_replace_strmem.c Wed Feb 4 18:46:11 2015
@@ -959,8 +959,8 @@
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; \
\
|