mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 14:13:32 +02:00
fixed a "signed vs. unsigned" warning in ImportMP3.cpp
This commit is contained in:
@@ -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<unsigned char> inputBuffer{ INPUT_BUFFER_SIZE };
|
||||
ArrayOf<unsigned char> inputBuffer{ static_cast<unsigned int>(INPUT_BUFFER_SIZE) };
|
||||
int inputBufferFill; /* amount of data in inputBuffer */
|
||||
TrackFactory *trackFactory;
|
||||
TrackHolders channels;
|
||||
|
Reference in New Issue
Block a user