summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/umon/tfsDriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/shared/umon/tfsDriver.c')
-rw-r--r--c/src/lib/libbsp/shared/umon/tfsDriver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/shared/umon/tfsDriver.c b/c/src/lib/libbsp/shared/umon/tfsDriver.c
index baebd1d36e..2e1f3a461d 100644
--- a/c/src/lib/libbsp/shared/umon/tfsDriver.c
+++ b/c/src/lib/libbsp/shared/umon/tfsDriver.c
@@ -614,9 +614,9 @@ static ssize_t rtems_tfs_write(
return(ret);
}
-static rtems_off64_t rtems_tfs_lseek(
+static off_t rtems_tfs_lseek(
rtems_libio_t *iop,
- rtems_off64_t offset,
+ off_t offset,
int whence
)
{
@@ -643,7 +643,7 @@ static rtems_off64_t rtems_tfs_lseek(
if (ret < 0)
return(-1);
- return (rtems_off64_t)ret;
+ return (off_t)ret;
}
/*
@@ -651,7 +651,7 @@ static rtems_off64_t rtems_tfs_lseek(
*/
static int rtems_tfs_ftruncate(
rtems_libio_t *iop,
- rtems_off64_t count
+ off_t count
)
{
int ret, fd;