From 67432c2a306fa9cbc31753ae03f6f1ebd0d49220 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Fri, 17 May 2013 23:31:00 -0500 Subject: [PATCH] security.h: Change wim_security_data->sizes back to u64 array --- include/wimlib/security.h | 2 +- src/security.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wimlib/security.h b/include/wimlib/security.h index 2f51560f..9d338a15 100644 --- a/include/wimlib/security.h +++ b/include/wimlib/security.h @@ -26,7 +26,7 @@ struct wim_security_data { /* Array of sizes of the descriptors, in bytes, in the array * @descriptors. */ - size_t *sizes; + u64 *sizes; /* Array of pointers to the security descriptors in the * SECURITY_DESCRIPTOR_RELATIVE format. */ diff --git a/src/security.c b/src/security.c index 1edeb3e3..788426c2 100644 --- a/src/security.c +++ b/src/security.c @@ -146,7 +146,7 @@ struct wim_security_data_disk { * the validation in libntfs-3g. */ static void -empty_sacl_fixup(SECURITY_DESCRIPTOR_RELATIVE *descr, size_t *size_p) +empty_sacl_fixup(SECURITY_DESCRIPTOR_RELATIVE *descr, u64 *size_p) { /* No-op if no NTFS-3g support, or if NTFS-3g is version 2013 or later * */ -- 2.43.0