forked from len0rd/rockbox
Initial gcc4 warning cleanup (and some minor policing)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8063 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8790056691
commit
1a29cfb23e
8 changed files with 29 additions and 29 deletions
|
|
@ -192,7 +192,7 @@ static int unsynchronize(char* tag, int len, bool *ff_found)
|
|||
unsigned char c;
|
||||
unsigned char *rp, *wp;
|
||||
|
||||
wp = rp = tag;
|
||||
wp = rp = (unsigned char *)tag;
|
||||
|
||||
rp = (unsigned char *)tag;
|
||||
for(i = 0;i < len;i++) {
|
||||
|
|
@ -475,14 +475,14 @@ static bool setid3v1title(int fd, struct mp3entry *entry)
|
|||
if (read(fd, buffer, sizeof buffer) != sizeof buffer)
|
||||
return false;
|
||||
|
||||
if (strncmp(buffer, "TAG", 3))
|
||||
if (strncmp((char *)buffer, "TAG", 3))
|
||||
return false;
|
||||
|
||||
entry->id3v1len = 128;
|
||||
entry->id3version = ID3_VER_1_0;
|
||||
|
||||
for (i=0; i < (int)sizeof offsets; i++) {
|
||||
char* ptr = buffer + offsets[i];
|
||||
char* ptr = (char *)buffer + offsets[i];
|
||||
|
||||
if (i<3) {
|
||||
/* kill trailing space in strings */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue