Commit d4cdbfd6 authored by Nathan Scott's avatar Nathan Scott Committed by Nathan Scott

[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: default avatarNathan Scott <nathans@sgi.com>
parent 669b5449
...@@ -58,7 +58,7 @@ typedef enum { B_FALSE,B_TRUE } boolean_t; ...@@ -58,7 +58,7 @@ typedef enum { B_FALSE,B_TRUE } boolean_t;
typedef __int64_t prid_t; /* project ID */ typedef __int64_t prid_t; /* project ID */
typedef __uint32_t inst_t; /* an instruction */ typedef __uint32_t inst_t; /* an instruction */
typedef __u64 xfs_off_t; typedef __s64 xfs_off_t; /* <file offset> type */
typedef __u64 xfs_ino_t; /* <inode> type */ typedef __u64 xfs_ino_t; /* <inode> type */
typedef __s64 xfs_daddr_t; /* <disk address> type */ typedef __s64 xfs_daddr_t; /* <disk address> type */
typedef char * xfs_caddr_t; /* <core address> type */ typedef char * xfs_caddr_t; /* <core address> type */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment