From d2734bbdd933478452281f578fcd6ca22ebe896f Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 2 Apr 1987 10:17:06 +0000 Subject: [PATCH] "word" is always a long --- mach/m68k2/cg/mach.h | 4 ++-- mach/z80/cg/mach.h | 4 ++-- mach/z8000/cg/mach.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mach/m68k2/cg/mach.h b/mach/m68k2/cg/mach.h index 4af8bba98..a16e5ec22 100644 --- a/mach/m68k2/cg/mach.h +++ b/mach/m68k2/cg/mach.h @@ -20,9 +20,9 @@ #define loc_off "%d(a6)" #define arg_off "8+%d(a6)" -#define hol_off "%d+hol%d" +#define hol_off "%ld+hol%d" -#define con_cst(x) fprintf(codefile,".data2\t%d\n",x) +#define con_cst(x) fprintf(codefile,".data2\t%ld\n",x) #define con_ilb(x) fprintf(codefile,".data4\t%s\n",x) #define con_dlb(x) fprintf(codefile,".data4\t%s\n",x) diff --git a/mach/z80/cg/mach.h b/mach/z80/cg/mach.h index 3b565df6a..779de8543 100644 --- a/mach/z80/cg/mach.h +++ b/mach/z80/cg/mach.h @@ -22,9 +22,9 @@ #define loc_off "%d(bp)" #define arg_off "4+%d(bp)" -#define hol_off "%d+hol%d" +#define hol_off "%ld+hol%d" -#define con_cst(x) fprintf(codefile,".data2\t%d\n",x) +#define con_cst(x) fprintf(codefile,".data2\t%ld\n",x) #define con_ilb(x) fprintf(codefile,".data2\t%s\n",x) #define con_dlb(x) fprintf(codefile,".data2\t%s\n",x) diff --git a/mach/z8000/cg/mach.h b/mach/z8000/cg/mach.h index e70025834..bff94ee8c 100644 --- a/mach/z8000/cg/mach.h +++ b/mach/z8000/cg/mach.h @@ -17,9 +17,9 @@ #define dlb_fmt "_%d" #define hol_fmt "hol%d" -#define hol_off "%d+hol%d" +#define hol_off "%ld+hol%d" -#define con_cst(x) fprintf(codefile,"\t.data2 %d\n",x) +#define con_cst(x) fprintf(codefile,"\t.data2 %ld\n",x) #define con_ilb(x) fprintf(codefile,"\t.data2 %s\n",x) #define con_dlb(x) fprintf(codefile,"\t.data2 %s\n",x) -- 2.34.1