From: Nathan Scott Date: Thu, 19 Aug 2004 20:27:57 +0000 (+1000) Subject: [XFS] Fix xfs_off_t to be signed, not unsigned; valid warnings emitted X-Git-Tag: v2.6.9-rc1~16^2~2^2~20 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=d4cdbfd617b742714353c6c9b1eaaaff40aa96ac;p=history.git [XFS] Fix xfs_off_t to be signed, not unsigned; valid warnings emitted after stricter compilation options used by some OSDL folks. SGI Modid: xfs-linux:xfs-kern:174814a Signed-off-by: Nathan Scott --- diff --git a/fs/xfs/xfs_types.h b/fs/xfs/xfs_types.h index 8d6aac75047c..04609d27ea51 100644 --- a/fs/xfs/xfs_types.h +++ b/fs/xfs/xfs_types.h @@ -58,7 +58,7 @@ typedef enum { B_FALSE,B_TRUE } boolean_t; typedef __int64_t prid_t; /* project ID */ typedef __uint32_t inst_t; /* an instruction */ -typedef __u64 xfs_off_t; +typedef __s64 xfs_off_t; /* type */ typedef __u64 xfs_ino_t; /* type */ typedef __s64 xfs_daddr_t; /* type */ typedef char * xfs_caddr_t; /* type */