OSDN Git Service

bionic: ftell() returns a long, not an int
authorAndré Goddard Rosa <andre.goddard@gmail.com>
Fri, 5 Feb 2010 18:05:52 +0000 (16:05 -0200)
committerAndré Goddard Rosa <andre.goddard@gmail.com>
Fri, 5 Feb 2010 18:05:52 +0000 (16:05 -0200)
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
libc/bionic/pututline.c

index 2449068..c8427f7 100644 (file)
@@ -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;