From c60e06beeb20521a15bacc5c672aa1b865b06a67 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 21 Dec 1996 22:23:53 +0000 Subject: -Wall madness. --- sys/arch/i386/isa/pcvt/Util/fed/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/i386/isa/pcvt/Util/fed') diff --git a/sys/arch/i386/isa/pcvt/Util/fed/misc.c b/sys/arch/i386/isa/pcvt/Util/fed/misc.c index a0dff32703a..80a726261c2 100644 --- a/sys/arch/i386/isa/pcvt/Util/fed/misc.c +++ b/sys/arch/i386/isa/pcvt/Util/fed/misc.c @@ -129,7 +129,7 @@ void readfont(char *filename) break; default: - fprintf(stderr,"error, file %s is no valid font file, size=%d\n",filename,sbp->st_size); + fprintf(stderr,"error, file %s is no valid font file, size=%ld\n",filename,(long)sbp->st_size); exit(1); } @@ -144,7 +144,7 @@ void readfont(char *filename) if((ret = fread(fonttab, sizeof(*fonttab), sbp->st_size, in)) != sbp->st_size) { - sprintf(buffer,"error reading file %s, size = %d, ret = %d\n",filename,sbp->st_size, ret); + sprintf(buffer,"error reading file %s, size = %ld, ret = %d\n",filename,(long)sbp->st_size, ret); perror(buffer); exit(1); } -- cgit v1.2.3