From 5ba4850606ced0dd645f2b6ce85893ef9af95289 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 27 May 2023 23:14:20 +0200 Subject: ext2fs: Fix unsigned long / uint32_t confusion --- ext2fs/xattr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext2fs/xattr.h') 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 -- cgit v1.2.3