summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/ftello.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/ftello.c')
-rw-r--r--newlib/libc/stdio/ftello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/ftello.c b/newlib/libc/stdio/ftello.c
index 474c78834..f4c28b4d1 100644
--- a/newlib/libc/stdio/ftello.c
+++ b/newlib/libc/stdio/ftello.c
@@ -17,10 +17,10 @@
#include <stdio.h>
-off_t
+_off_t
_DEFUN (ftello, (fp),
register FILE * fp)
{
/* for now we simply cast since off_t should be long */
- return (off_t)ftell (fp);
+ return (_off_t)ftell (fp);
}