Browse Source

Fixed bug in newlabel: assertion was wrong

ceriel 30 years ago
parent
commit
e30d27c418
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mach/proto/as/comm6.c

+ 1 - 1
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
 }