OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9560452
)
bionic: ftell() returns a long, not an int
author
André Goddard Rosa
<andre.goddard@gmail.com>
Fri, 5 Feb 2010 18:05:52 +0000
(16:05 -0200)
committer
André 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
patch
|
blob
|
history
diff --git
a/libc/bionic/pututline.c
b/libc/bionic/pututline.c
index
2449068
..
c8427f7
100644
(file)
--- 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;