summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2010-03-18 16:35:42 -0700
committerAndroid Code Review <code-review@android.com>2010-03-18 16:35:42 -0700
commitc0e464268d381a5575897e6c2de397167d0985db (patch)
tree8ca61174ddde4d67944149e55e5a0d32a93fef9c
parente2a8b1fd19fb3a8ead2ba28ddba27be19fa978b5 (diff)
parent3b06c128cf2799cec8f7524dc11c4e6c320fe4c7 (diff)
downloadbionic-c0e464268d381a5575897e6c2de397167d0985db.zip
bionic-c0e464268d381a5575897e6c2de397167d0985db.tar.gz
bionic-c0e464268d381a5575897e6c2de397167d0985db.tar.bz2
Merge "bionic: ftell() returns a long, not an int"
-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;