diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-08 00:34:24 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-08 00:34:24 (GMT) |
commit | a73acfbeb9a7d9c73434d2062225cb38e486f12f (patch) | |
tree | 4dbbc436a9f0002a9905fedb88cb25dd600efbd9 /Utilities | |
parent | bc701c59de29232a28c575e1acf46b45a2ebf75e (diff) | |
download | CMake-a73acfbeb9a7d9c73434d2062225cb38e486f12f.zip CMake-a73acfbeb9a7d9c73434d2062225cb38e486f12f.tar.gz CMake-a73acfbeb9a7d9c73434d2062225cb38e486f12f.tar.bz2 |
Fix for mode_t with signed types
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_entry.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_entry.h b/Utilities/cmlibarchive/libarchive/archive_entry.h index 01a05af..9c7cd43 100644 --- a/Utilities/cmlibarchive/libarchive/archive_entry.h +++ b/Utilities/cmlibarchive/libarchive/archive_entry.h @@ -144,14 +144,14 @@ struct archive_entry; * portable values to platform-native values when entries are read from * or written to disk. */ -#define AE_IFMT 0170000 -#define AE_IFREG 0100000 -#define AE_IFLNK 0120000 -#define AE_IFSOCK 0140000 -#define AE_IFCHR 0020000 -#define AE_IFBLK 0060000 -#define AE_IFDIR 0040000 -#define AE_IFIFO 0010000 +#define AE_IFMT ((__LA_MODE_T)0170000) +#define AE_IFREG ((__LA_MODE_T)0100000) +#define AE_IFLNK ((__LA_MODE_T)0120000) +#define AE_IFSOCK ((__LA_MODE_T)0140000) +#define AE_IFCHR ((__LA_MODE_T)0020000) +#define AE_IFBLK ((__LA_MODE_T)0060000) +#define AE_IFDIR ((__LA_MODE_T)0040000) +#define AE_IFIFO ((__LA_MODE_T)0010000) /* * Basic object manipulation |