summaryrefslogtreecommitdiff
path: root/memcheck/mc_main.c
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2007-09-17 22:46:45 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2007-09-17 22:46:45 +0000
commitbf8c350bbaf032615c54255355ff3ff6bc7baa21 (patch)
tree3ee318d30088de0c124d1bfcf2cf690ae89f7dd4 /memcheck/mc_main.c
parent90c819234434cca633fe4d43ff19a1753b2caabd (diff)
Change an Int to a SSizeT to avoid overflows. Fixed bug 148174.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6855 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 5a39efed..0c09b18c 100644
--- a/memcheck/mc_main.c
+++ b/memcheck/mc_main.c
@@ -4367,7 +4367,7 @@ static Bool mc_expensive_sanity_check ( void )
/*------------------------------------------------------------*/
Bool MC_(clo_partial_loads_ok) = False;
-Int MC_(clo_freelist_vol) = 5000000;
+SSizeT MC_(clo_freelist_vol) = 5000000;
LeakCheckMode MC_(clo_leak_check) = LC_Summary;
VgRes MC_(clo_leak_resolution) = Vg_LowRes;
Bool MC_(clo_show_reachable) = False;