summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
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. */