summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Friloux <kuri@e4.enlightenment.org>2013-06-04 16:37:07 +0200
committerGuillaume Friloux <kuri@e4.enlightenment.org>2013-06-04 16:37:07 +0200
commit4748ca329e97d5644d7dc5e298f97387d17c042f (patch)
treeef7e17e68ca5519b195142199a1972c0d4702e00
parent79834374f4f297386d6876c3c692c06929cc219f (diff)
fseek uses an int, so switch to fseeko to have an off_t that will be 64 bits long thx to makefile
-rw-r--r--src/bin/logfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/logfiles.c b/src/bin/logfiles.c
index b1297ad..bbe69de 100644
--- a/src/bin/logfiles.c
+++ b/src/bin/logfiles.c
@@ -146,7 +146,7 @@ int logfiles_getend(char *logfile, fpos_t *pos_end)
146 EINA_LOG_DOM_ERR(einadom_logfiles, "Can't open %s : %s", logfile, strerror(errno)); 146 EINA_LOG_DOM_ERR(einadom_logfiles, "Can't open %s : %s", logfile, strerror(errno));
147 return(-1); 147 return(-1);
148 } 148 }
149 fseek(fp, 0L, SEEK_END); 149 fseeko(fp, 0L, SEEK_END);
150 fgetpos(fp, pos_end); 150 fgetpos(fp, pos_end);
151 151
152 fclose(fp); 152 fclose(fp);