diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-11-15 20:01:39 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-11-15 20:01:39 +0000 |
commit | 8e632048790803010c55b60e254e0c9c5a51d42c (patch) | |
tree | 9c5d1d22ea3abb27dde572b8f5332f4c060e793a /libmu_scm | |
parent | 0f3bca17956adc76c95b0d869e893f2f169a040d (diff) | |
download | mailutils-8e632048790803010c55b60e254e0c9c5a51d42c.tar.gz mailutils-8e632048790803010c55b60e254e0c9c5a51d42c.tar.bz2 |
Use mu_off_t instead of off_t
Diffstat (limited to 'libmu_scm')
-rw-r--r-- | libmu_scm/mu_port.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmu_scm/mu_port.c b/libmu_scm/mu_port.c index 608a3d182..9077f4e0f 100644 --- a/libmu_scm/mu_port.c +++ b/libmu_scm/mu_port.c @@ -213,12 +213,12 @@ mu_port_end_input (SCM port, int offset) pt->rw_active = SCM_PORT_NEITHER; } -static off_t -mu_port_seek (SCM port, off_t offset, int whence) +static mu_off_t +mu_port_seek (SCM port, mu_off_t offset, int whence) { struct mu_port *mp = MU_PORT (port); scm_port *pt = SCM_PTAB_ENTRY (port); - off_t size = 0; + mu_off_t size = 0; if (whence == SEEK_CUR && offset == 0) return mp->offset; @@ -251,7 +251,7 @@ mu_port_seek (SCM port, off_t offset, int whence) } static void -mu_port_truncate (SCM port, off_t length) +mu_port_truncate (SCM port, mu_off_t length) { struct mu_port *mp = MU_PORT (port); if (mu_stream_truncate (mp->stream, length)) @@ -262,7 +262,7 @@ static int mu_port_print (SCM exp, SCM port, scm_print_state *pstate) { struct mu_port *mp = MU_PORT (exp); - off_t size = 0; + mu_off_t size = 0; scm_puts ("#<", port); scm_print_port_mode (exp, port); |