bionic: ftell() returns a long, not an int

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
This commit is contained in:
André Goddard Rosa 2010-02-05 16:05:52 -02:00
parent 95604529ec
commit 3b06c128cf

View File

@ -34,7 +34,7 @@ void pututline(struct utmp* utmp)
{ {
FILE* f; FILE* f;
struct utmp u; struct utmp u;
int i; long i;
if (!(f = fopen(_PATH_UTMP, "w+"))) if (!(f = fopen(_PATH_UTMP, "w+")))
return; return;