summaryrefslogtreecommitdiff
path: root/src/libFLAC/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libFLAC/memory.c')
-rw-r--r--src/libFLAC/memory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libFLAC/memory.c b/src/libFLAC/memory.c
index a8ebd10f..3dae9d23 100644
--- a/src/libFLAC/memory.c
+++ b/src/libFLAC/memory.c
@@ -146,11 +146,11 @@ FLAC__bool FLAC__memory_alloc_aligned_uint64_array(size_t elements, FLAC__uint64
}
}
-FLAC__bool FLAC__memory_alloc_aligned_unsigned_array(size_t elements, unsigned **unaligned_pointer, unsigned **aligned_pointer)
+FLAC__bool FLAC__memory_alloc_aligned_unsigned_array(size_t elements, uint32_t **unaligned_pointer, uint32_t **aligned_pointer)
{
- unsigned *pu; /* unaligned pointer */
+ uint32_t *pu; /* unaligned pointer */
union { /* union needed to comply with C99 pointer aliasing rules */
- unsigned *pa; /* aligned pointer */
+ uint32_t *pa; /* aligned pointer */
void *pv; /* aligned pointer alias */
} u;