summaryrefslogtreecommitdiff
path: root/memcheck/mc_main.c
diff options
context:
space:
mode:
authorsewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-01-05 14:09:46 +0000
committersewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-01-05 14:09:46 +0000
commit78947933233069620b44f97d17acb7aba77b4f1c (patch)
tree87049254a0d8f72106528330eb4e7f60adc49402 /memcheck/mc_main.c
parentf0915fc8b1797789f291c187f7269874438e3e85 (diff)
Fix a casting bug in the LOADV8 slow (misaligned) case spotted by Nick.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5500 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck/mc_main.c')
-rw-r--r--memcheck/mc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c
index 4dbcf0b2..013a4cf8 100644
--- a/memcheck/mc_main.c
+++ b/memcheck/mc_main.c
@@ -1518,7 +1518,7 @@ static Bool mc_recognised_suppression ( Char* name, Supp* su )
/* slow-path case. */ \
if (EXPECTED_NOT_TAKEN(a & mask)) { \
PROF_EVENT(201, #nAME"-slow1"); \
- return (UWord)mc_LOADVn_slow( aA, 8, iS_BIGENDIAN ); \
+ return (ULong)mc_LOADVn_slow( aA, 8, iS_BIGENDIAN ); \
} \
\
sec_no = (UWord)(a >> 16); \