From 9318d363ef7fbfd3f66cda83d3da9de2d4087044 Mon Sep 17 00:00:00 2001 From: Richard Kistruck Date: Wed, 1 Apr 2009 17:52:55 +0100 Subject: [PATCH] Mps br/padding poolamc.c: (char) casts needed for vc6.0 compiler on platform.w3i3mv Copied from Perforce Change: 167698 ServerID: perforce.ravenbrook.com --- mps/code/poolamc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mps/code/poolamc.c b/mps/code/poolamc.c index 2ed4295bae2..b56b548bf2b 100644 --- a/mps/code/poolamc.c +++ b/mps/code/poolamc.c @@ -2007,9 +2007,9 @@ static void amcReclaimNailed(Pool pool, Trace trace, Seg seg) /* Free the seg if we can; fixes .nailboard.limitations.middle. */ /* (char) casts needed for VC6.0 compiler on platform.w3i3mv */ - cond[0] = emptySeg ? (char)'E' : (char)'e'; - cond[1] = (SegBuffer(seg) == NULL) ? (char)'b' : (char)'B'; - cond[2] = (SegNailed(seg) == TraceSetEMPTY) ? (char)'n' : (char)'N'; + cond[0] = (char)(emptySeg ? 'E' : 'e'); + cond[1] = (char)((SegBuffer(seg) == NULL) ? 'b' : 'B'); + cond[2] = (char)((SegNailed(seg) == TraceSetEMPTY) ? 'n' : 'N'); cond[3] = '\0'; if(emptySeg && (SegBuffer(seg) == NULL)