diff --git a/src/import/ImportMP3.cpp b/src/import/ImportMP3.cpp index ceb2a0473..9b410ca59 100644 --- a/src/import/ImportMP3.cpp +++ b/src/import/ImportMP3.cpp @@ -86,7 +86,7 @@ extern "C" { #include "../WaveTrack.h" -#define INPUT_BUFFER_SIZE 65535u +#define INPUT_BUFFER_SIZE 65535 #define PROGRESS_SCALING_FACTOR 100000 /* this is a private structure we can use for whatever we like, and it will get @@ -94,7 +94,7 @@ extern "C" { * things. */ struct private_data { wxFile *file; /* the file containing the mp3 data we're feeding the encoder */ - ArrayOf inputBuffer{ INPUT_BUFFER_SIZE }; + ArrayOf inputBuffer{ static_cast(INPUT_BUFFER_SIZE) }; int inputBufferFill; /* amount of data in inputBuffer */ TrackFactory *trackFactory; TrackHolders channels;