summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-09 21:27:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-09 21:27:36 +0000
commit2ce8527bd035ef7c65dc6c98f73b0518528be7d7 (patch)
treea8feb4e12793ffaceb19872954fbadf34de4dbca /libdiskfs
parente68ff03031aa8868abbaaeed0984d3fa99289dd3 (diff)
(diskfs_S_io_prenotify): Cast END to off_t in comparison.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/io-prenotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/io-prenotify.c b/libdiskfs/io-prenotify.c
index b114a6a2..8c6b6552 100644
--- a/libdiskfs/io-prenotify.c
+++ b/libdiskfs/io-prenotify.c
@@ -51,7 +51,7 @@ diskfs_S_io_prenotify (struct protid *cred,
ioserver_fetch_shared_data (cred);
- if (end < np->allocsize)
+ if ((off_t) end < np->allocsize)
{
/* The user didn't need to do this, so we'll make sure they
have the right shared page info. */