ntfs-3g/include/ntfs-3g
Erik Larsson a207d4e86a endians.h: Cast the result of const endianness macros to the right type.
This fixes compiler warnings emitted when you compare an le32 value with
e.g. 'const_cpu_to_le32(-1)' on a little-endian system, because
previously the expansion of the macro expression 'const_cpu_to_le32(-1)'
would be '(-1)' on a little-endian system but '(u32)((((u32)(-1) &
0xff000000u) >> 24) | (((u32)(-1) & 0x00ff0000u) >>  8) | (((u32)(-1) &
0x0000ff00u) <<  8) | (((u32)(-1) & 0x000000ffu) << 24))' on a
big-endian system, i.e. the type of the expanded expression would be
'int' (signed) in the little-endian case but 'u32' (unsigned) in the
big-endian case.

With this commit the type of the expanded expression will be 'le32' in
both the little-endian and the big-endian case.
2016-02-11 14:19:41 +01:00
..
Makefile.am Inserted missing ea.h and ioctl.h in devel file list 2014-09-02 09:39:12 +02:00
acls.h Use appropriate little-endian/big-endian types in struct definitions. 2015-10-03 12:58:08 +02:00
attrib.h Fixed inserting a new ACL after they have been wiped out by chkdsk 2014-04-23 09:53:13 +02:00
attrlist.h initial CVS import 2006-10-30 22:32:48 +00:00
bitmap.h add ntfs_rol32 and ntfs_ror32 2007-09-02 12:36:33 +00:00
bootsect.h ntfs_boot_sector_is_ntfs/ntfs_boot_sector_parse: log errors 2006-12-08 23:55:10 +00:00
cache.h Forced alignment on cached structs 2010-10-26 08:59:51 +02:00
collate.h Made direct calls to collation functions 2009-12-16 10:20:57 +00:00
compat.h Used ENOENT instead of ENODATA when the latter is not defined (Robert Millan) 2012-01-23 16:50:25 +01:00
compress.h developed overwriting compressed files 2010-05-25 10:25:31 +02:00
debug.h Removed unneeded variables as warned by gcc 4.6 2011-07-05 12:17:29 +02:00
device.h Added use of hd library to get the legacy BIOS geometry 2013-02-12 15:45:54 +01:00
device_io.h Reset the output file to favour appending to image in ntfsclone 2014-03-11 09:54:53 +01:00
dir.h API cleanup of const arguments. 2012-11-07 14:15:53 +01:00
ea.h Implemented an extended attribute to get/set EAs 2014-04-12 09:22:17 +02:00
efs.h Changed the interfaces to use extended attributes 2009-12-17 08:24:13 +00:00
endians.h endians.h: Cast the result of const endianness macros to the right type. 2016-02-11 14:19:41 +01:00
index.h Made direct calls to collation functions 2009-12-16 10:20:57 +00:00
inode.h Fix incorrect usage of native/little-endian types, signed types, etc. 2015-12-21 23:55:31 +01:00
ioctl.h Implemented fstrim(8) 2014-07-31 14:03:11 +02:00
layout.h Merge endianness fixes. 2016-01-28 09:22:42 +01:00
lcnalloc.h developed overwriting compressed files 2010-05-25 10:25:31 +02:00
logfile.h Use appropriate little-endian/big-endian types in struct definitions. 2015-10-03 12:58:08 +02:00
logging.h Enabled renaming of system extended attributes 2010-10-26 08:59:52 +02:00
mft.h Used MFT record 15 for the first extent to MFT:DATA 2014-03-11 10:16:26 +01:00
misc.h Redesigned caches for indexing cached entries 2009-12-17 17:36:06 +00:00
mst.h Avoided logging meaningless fixup errors in ntfsclone and ntfsresize 2011-09-23 11:28:42 +02:00
ntfstime.h Fix incorrect usage of native/little-endian types, signed types, etc. 2015-12-21 23:55:31 +01:00
object_id.h Implemented getting/setting/removing object ids 2009-12-17 09:07:56 +00:00
param.h Made use of fuse module cache on OpenIndiana 2015-09-30 08:36:37 +02:00
realpath.h Fixed device path canonicalization for use by devmapper (basilinya) 2011-07-05 12:17:12 +02:00
reparse.h Changed the interfaces to use extended attributes 2009-12-17 08:24:13 +00:00
runlist.h developed overwriting compressed files 2010-05-25 10:25:31 +02:00
security.h Merge endianness fixes. 2016-01-28 09:22:42 +01:00
support.h initial CVS import 2006-10-30 22:32:48 +00:00
types.h Use appropriate little-endian/big-endian types in struct definitions. 2015-10-03 12:58:08 +02:00
unistr.h Rejected reserved files names when option windows_names is set 2014-03-11 10:56:31 +01:00
volume.h Implemented fstrim(8) 2014-07-31 14:03:11 +02:00
xattrs.h Implemented an extended attribute to get/set EAs 2014-04-12 09:22:17 +02:00