ref: 5688e65d2b7ad61e575684488a2aa0a5b0c06425
parent: 2c68f3826ca8b0bb84c28abc13e8decc1e1f273f
author: Rob Sykes <robs@users.sourceforge.net>
date: Wed Oct 29 06:00:11 EDT 2014
fix warning on 64-bit arch.
--- a/src/aiff.c
+++ b/src/aiff.c
@@ -457,8 +457,10 @@
/* Process a text chunk, allocate memory, display it if verbose and return */
static int textChunk(char **text, char *chunkDescription, sox_format_t * ft)
{
- uint32_t chunksize;
- lsx_readdw(ft, &chunksize);
+ uint32_t chunksize0;
+ size_t chunksize;
+ lsx_readdw(ft, &chunksize0);
+ chunksize = chunksize0;
/* allocate enough memory to hold the text including a terminating \0 */
if (chunksize != SOX_SIZE_MAX)