diff options
| author | Richard Brooksby | 2012-05-03 12:05:02 +0100 |
|---|---|---|
| committer | Richard Brooksby | 2012-05-03 12:05:02 +0100 |
| commit | 28b06ee71a46ac75b57c2dcfd38fe03be6ab3ceb (patch) | |
| tree | 253651e0a2a73d8fe19ea30b1cb20f52faecd951 /mps/code | |
| parent | 390f27c789bd212596f78c962fadafd652b0a186 (diff) | |
| download | emacs-28b06ee71a46ac75b57c2dcfd38fe03be6ab3ceb.tar.gz emacs-28b06ee71a46ac75b57c2dcfd38fe03be6ab3ceb.zip | |
Temporary fix to constant to suppress warning.
Copied from Perforce
Change: 178088
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/amcss.c | 6 |
1 files 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] = { | |||
| 38 | 38 | ||
| 39 | 39 | ||
| 40 | /* objNULL needs to be odd so that it's ignored in exactRoots. */ | 40 | /* objNULL needs to be odd so that it's ignored in exactRoots. */ |
| 41 | #define objNULL ((mps_addr_t)0xDECEA5ED) | 41 | /* @@@@ W3I6MV Temporary fix (ull) to prevent Microsoft C complaining. Need |
| 42 | to work out what to do about such cases. */ | ||
| 43 | #define objNULL ((mps_addr_t)0xDECEA5EDull) | ||
| 42 | 44 | ||
| 43 | 45 | ||
| 44 | static mps_pool_t pool; | 46 | static mps_pool_t pool; |
| @@ -210,7 +212,7 @@ static void *test(void *arg, size_t s) | |||
| 210 | ramping = 1; | 212 | ramping = 1; |
| 211 | objs = 0; | 213 | objs = 0; |
| 212 | while (collections < collectionsCOUNT) { | 214 | while (collections < collectionsCOUNT) { |
| 213 | unsigned long c; | 215 | mps_word_t c; |
| 214 | size_t r; | 216 | size_t r; |
| 215 | 217 | ||
| 216 | c = mps_collections(arena); | 218 | c = mps_collections(arena); |