diff options
author | Christophe Grenier <grenier@cgsecurity.org> | 2024-04-02 08:18:52 +0200 |
---|---|---|
committer | Christophe Grenier <grenier@cgsecurity.org> | 2024-04-02 08:18:52 +0200 |
commit | 6c29fe42e9d08ccd23c11dfc922770b2912bb5e0 (patch) | |
tree | 0b40411c7558bed913d2ad6a0460ef83bb0368fa /src | |
parent | cf63dbbf1e195cfb0e9f298cc97fdf747c557ec9 (diff) |
See https://github.com/cgsecurity/testdisk/issues/152
Diffstat (limited to 'src')
-rw-r--r-- | src/apfs_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apfs_common.h b/src/apfs_common.h index 724c7132..4d058de2 100644 --- a/src/apfs_common.h +++ b/src/apfs_common.h @@ -34,7 +34,9 @@ extern "C" } __attribute__((gcc_struct, __packed__)); typedef struct obj_phys obj_phys_t; +#if HAVE_PADDR_T == 0 typedef int64_t paddr_t; +#endif struct prange { paddr_t pr_start_paddr; |