From 28b06ee71a46ac75b57c2dcfd38fe03be6ab3ceb Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Thu, 3 May 2012 12:05:02 +0100 Subject: [PATCH] Temporary fix to constant to suppress warning. Copied from Perforce Change: 178088 ServerID: perforce.ravenbrook.com --- mps/code/amcss.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mps/code/amcss.c b/mps/code/amcss.c index 7055bf94b70..279b33ce407 100644 --- a/mps/code/amcss.c +++ b/mps/code/amcss.c @@ -38,7 +38,9 @@ static mps_gen_param_s testChain[genCOUNT] = { /* objNULL needs to be odd so that it's ignored in exactRoots. */ -#define objNULL ((mps_addr_t)0xDECEA5ED) +/* @@@@ W3I6MV Temporary fix (ull) to prevent Microsoft C complaining. Need + to work out what to do about such cases. */ +#define objNULL ((mps_addr_t)0xDECEA5EDull) static mps_pool_t pool; @@ -210,7 +212,7 @@ static void *test(void *arg, size_t s) ramping = 1; objs = 0; while (collections < collectionsCOUNT) { - unsigned long c; + mps_word_t c; size_t r; c = mps_collections(arena);