Add cast to remove spurious warnings.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 16 Nov 1993 02:34:33 +0000 (02:34 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 16 Nov 1993 02:34:33 +0000 (02:34 +0000)
v7/src/microcode/cmpintmd/c.h

index 502b0fe8aeaca700c0ada27310cd739ae5f1eda5..3a9d463bd90c29ff16b359712741e51a5265ef6b 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: c.h,v 1.5 1993/11/16 02:25:15 gjr Exp $
+$Id: c.h,v 1.6 1993/11/16 02:34:33 gjr Exp $
 
 Copyright (c) 1992-1993 Massachusetts Institute of Technology
 
@@ -82,8 +82,8 @@ extern int pc_zero_bits;
 
 #define FIRST_MANIFEST_CLOSURE_ENTRY(scan)                             \
 (((COMPILED_ENTRY_OFFSET_WORD (((SCHEME_OBJECT *) (scan)) + 1)) == 0)  \
- ? (((SCHEME_OBJECT *) (scan)) + 2)                                    \
- : (((SCHEME_OBJECT *) (scan)) + 1))
+ ? ((char *) (((SCHEME_OBJECT *) (scan)) + 2))                         \
+ : ((char *) (((SCHEME_OBJECT *) (scan)) + 1)))
 \f
 /* Trampolines are implemented as tiny compiled code blocks that
    invoke the constant C procedure indexed by the number 0.