--- gforth/Attic/forth.h 1994/12/12 17:10:37 1.12 +++ gforth/Attic/forth.h 1995/01/19 17:48:02 1.13 @@ -59,12 +59,12 @@ Label *engine(Xt *ip, Cell *sp, Cell *rp #define MAKE_DOES_CF(cfa,does_code) ({MAKE_CF(cfa,symbols[DODOES]); \ ((Cell *)cfa)[1] = (Cell)does_code;}) /* the does handler resides between DOES> and the following Forth code */ -#define DOES_HANDLER_SIZE 8 +#define DOES_HANDLER_SIZE (2*sizeof(Cell)) #define MAKE_DOES_HANDLER(addr) 0 /* do nothing */ #endif #ifdef DEBUG -# define NAME(string) fprintf(stderr,"%08x: "string"\n",(int)ip); +# define NAME(string) fprintf(stderr,"%08x: "string"\n",(Cell)ip); #else # define NAME(string) #endif