Use off_t for file size descriptions rather than long; from Tero Kivinen

in PR bin/6863.
This commit is contained in:
kleink 1999-02-04 17:05:35 +00:00
parent a9db8146da
commit 0aa500a352
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: less.h,v 1.1.1.3 1997/09/21 12:23:16 mrg Exp $ */
/* $NetBSD: less.h,v 1.2 1999/02/04 17:05:35 kleink Exp $ */
/*
* Copyright (c) 1984,1985,1989,1994,1995,1996 Mark Nudelman
@ -140,7 +140,7 @@ void free();
/*
* Special types and constants.
*/
typedef long POSITION;
typedef off_t POSITION;
/*
* {{ Warning: if POSITION is changed to other than "long",
* you may have to change some of the printfs which use "%ld"

View File

@ -1,4 +1,4 @@
/* $NetBSD: prompt.c,v 1.5 1998/02/22 14:57:31 christos Exp $ */
/* $NetBSD: prompt.c,v 1.6 1999/02/04 17:05:35 kleink Exp $ */
/*
* Copyright (c) 1984,1985,1989,1994,1995,1996 Mark Nudelman
@ -115,7 +115,7 @@ setmp()
ap_pos(pos)
POSITION pos;
{
sprintf(mp, "%ld", (long)pos);
sprintf(mp, "%qd", (quad_t)(POSITION)pos);
setmp();
}