diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-12-21 22:23:53 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-12-21 22:23:53 +0000 |
commit | c60e06beeb20521a15bacc5c672aa1b865b06a67 (patch) | |
tree | f2cc3a0e68a020f5e59132403d4a16547626359f /sys/arch/i386/isa/pcvt/Util/fed | |
parent | f2d04b4c3d006dcc05c58dab6068fed44f01098a (diff) |
-Wall madness.
Diffstat (limited to 'sys/arch/i386/isa/pcvt/Util/fed')
-rw-r--r-- | sys/arch/i386/isa/pcvt/Util/fed/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |