bionic: ftell() returns a long, not an int
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
This commit is contained in:
parent
95604529ec
commit
3b06c128cf
@ -34,7 +34,7 @@ void pututline(struct utmp* utmp)
|
||||
{
|
||||
FILE* f;
|
||||
struct utmp u;
|
||||
int i;
|
||||
long i;
|
||||
|
||||
if (!(f = fopen(_PATH_UTMP, "w+")))
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user