summaryrefslogtreecommitdiffstats
path: root/newlib/libc/reent/lseekr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/reent/lseekr.c')
-rw-r--r--newlib/libc/reent/lseekr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/reent/lseekr.c b/newlib/libc/reent/lseekr.c
index 45a340a3d..817d52a26 100644
--- a/newlib/libc/reent/lseekr.c
+++ b/newlib/libc/reent/lseekr.c
@@ -52,10 +52,10 @@ _lseek_r (ptr, fd, pos, whence)
_off_t pos;
int whence;
{
- off_t ret;
+ _off_t ret;
errno = 0;
- if ((ret = _lseek (fd, pos, whence)) == (off_t) -1 && errno != 0)
+ if ((ret = _lseek (fd, pos, whence)) == (_off_t) -1 && errno != 0)
ptr->_errno = errno;
return ret;
}