Skip to content

Commit

Permalink
Remove ID3 signedness warning
Browse files Browse the repository at this point in the history
  • Loading branch information
earlephilhower committed Dec 8, 2020
1 parent e65cc0f commit dd8ac07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AudioFileSourceID3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ uint32_t AudioFileSourceID3::read(void *data, uint32_t len)
char value[64];
uint32_t i;
bool isUnicode = (id3.getByte()==1) ? true : false;
for (i=0; i<framesize-1; i++) {
for (i=0; i<(uint32_t)framesize-1; i++) {
if (i<sizeof(value)-1) value[i] = id3.getByte();
else (void)id3.getByte();
}
Expand Down

0 comments on commit dd8ac07

Please sign in to comment.