From e30d27c4181d34d31d17c9f20d07fb1ab48b0ae8 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 24 Nov 1993 12:07:26 +0000 Subject: [PATCH] Fixed bug in newlabel: assertion was wrong --- mach/proto/as/comm6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mach/proto/as/comm6.c b/mach/proto/as/comm6.c index a79251496..5900c2582 100644 --- a/mach/proto/as/comm6.c +++ b/mach/proto/as/comm6.c @@ -90,7 +90,7 @@ register item_t *ip; if (store(ip, (valu_t) DOTVAL) == 0) return; #ifdef THREE_PASS - assert(pass != PASS_2 || oldval - ip->i_valu == DOTGAIN); + assert(pass != PASS_2 || oldval - (ADDR_T) ip->i_valu == DOTGAIN); #endif }