diff --git a/mach/6500/cg/mach.h b/mach/6500/cg/mach.h index 78383a8e4..3bb921b76 100644 --- a/mach/6500/cg/mach.h +++ b/mach/6500/cg/mach.h @@ -18,9 +18,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,".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/i80/ncg/mach.h b/mach/i80/ncg/mach.h index 8f1868c1c..82927cfe0 100644 --- a/mach/i80/ncg/mach.h +++ b/mach/i80/ncg/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,".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)