summaryrefslogtreecommitdiff
path: root/ext2fs/xattr.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-27 23:14:20 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-27 23:14:20 +0200
commit5ba4850606ced0dd645f2b6ce85893ef9af95289 (patch)
tree326a61525d36a9261359ee7fbefc4242b0f37a0b /ext2fs/xattr.h
parentf38c16748eb4a109b44c2e99c8ff377ddf3a23cf (diff)
ext2fs: Fix unsigned long / uint32_t confusion
Diffstat (limited to 'ext2fs/xattr.h')
-rw-r--r--ext2fs/xattr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/xattr.h b/ext2fs/xattr.h
index 245f896e..46c4fa26 100644
--- a/ext2fs/xattr.h
+++ b/ext2fs/xattr.h
@@ -80,6 +80,6 @@ struct ext2_xattr_entry
(entry->e_name_len)))
/* Checks if this entry is the last (not valid) one. */
-#define EXT2_XATTR_ENTRY_LAST(entry) (*(unsigned long *) entry == 0UL)
+#define EXT2_XATTR_ENTRY_LAST(entry) (*(uint32_t *) entry == 0UL)
#endif