summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorAndré Goddard Rosa <andre.goddard@gmail.com>2010-02-05 16:05:52 -0200
committerAndré Goddard Rosa <andre.goddard@gmail.com>2010-02-05 16:05:52 -0200
commit3b06c128cf2799cec8f7524dc11c4e6c320fe4c7 (patch)
treeee7eb9bd29a431486eafe775c1101b25e9ec38f6 /libc
parent95604529ec25fe7923ba88312c590f38aa5e3d9e (diff)
downloadbionic-3b06c128cf2799cec8f7524dc11c4e6c320fe4c7.zip
bionic-3b06c128cf2799cec8f7524dc11c4e6c320fe4c7.tar.gz
bionic-3b06c128cf2799cec8f7524dc11c4e6c320fe4c7.tar.bz2
bionic: ftell() returns a long, not an int
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/bionic/pututline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/pututline.c b/libc/bionic/pututline.c
index 2449068..c8427f7 100644
--- a/libc/bionic/pututline.c
+++ b/libc/bionic/pututline.c
@@ -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;