aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/mp3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mp3.cpp b/sound/mp3.cpp
index 415ce04821..792f8f6bf4 100644
--- a/sound/mp3.cpp
+++ b/sound/mp3.cpp
@@ -349,12 +349,12 @@ MP3TrackInfo::MP3TrackInfo(File *file) {
struct mad_stream& stream = *streamptr;
struct mad_frame& frame = *frameptr;
unsigned char* buffer = bufferptr;
- int sizeofbuffer = 8192;
+ uint sizeofbuffer = 8192;
#else
struct mad_stream stream;
struct mad_frame frame;
unsigned char buffer[8192];
- int sizeofbuffer = sizeof(buffer);
+ uint sizeofbuffer = sizeof(buffer);
#endif
unsigned int buflen = 0;
int count = 0;