"word" is always a "long"

This commit is contained in:
ceriel 1987-04-02 10:04:25 +00:00
parent af7b083fd8
commit 410bfa3cb2
2 changed files with 4 additions and 4 deletions

View file

@ -18,9 +18,9 @@
#define dlb_fmt "_%d" #define dlb_fmt "_%d"
#define hol_fmt "hol%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_ilb(x) fprintf(codefile,".data2\t%s\n",x)
#define con_dlb(x) fprintf(codefile,".data2\t%s\n",x) #define con_dlb(x) fprintf(codefile,".data2\t%s\n",x)

View file

@ -17,9 +17,9 @@
#define dlb_fmt "_%d" #define dlb_fmt "_%d"
#define hol_fmt "hol%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_ilb(x) fprintf(codefile,".data2\t%s\n",x)
#define con_dlb(x) fprintf(codefile,".data2\t%s\n",x) #define con_dlb(x) fprintf(codefile,".data2\t%s\n",x)