summaryrefslogtreecommitdiffstats
path: root/src/file_mp3.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-01-04 20:30:12 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-01-04 20:30:12 +0100
commitdbba3af27b57bc1771111d810e332fefb853052c (patch)
treebe6b18afb39722d38f96792cd2b5e4c46981b2a2 /src/file_mp3.c
parenta31b420f697831d4a8e9811489ad07b0b99c3fa4 (diff)
Fix for C++ compilation
Diffstat (limited to 'src/file_mp3.c')
-rw-r--r--src/file_mp3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_mp3.c b/src/file_mp3.c
index 469224c..0723296 100644
--- a/src/file_mp3.c
+++ b/src/file_mp3.c
@@ -318,11 +318,11 @@ static int data_check_mp3(const unsigned char *buffer, const unsigned int buffer
/* FIXME */
if(file_recovery->calculated_file_size + 5100 >= file_recovery->file_size + buffer_size/2)
return 1;
- if((pos_lyrics=pos_in_mem(&buffer[i],4096,"LYRICS200",9)) != 0)
+ if((pos_lyrics=pos_in_mem(&buffer[i], 4096, (const unsigned char*)"LYRICS200", 9)) != 0)
{
file_recovery->calculated_file_size+=pos_lyrics;
}
- else if((pos_lyrics=pos_in_mem(&buffer[i],5100,"LYRICSEND",9)) != 0)
+ else if((pos_lyrics=pos_in_mem(&buffer[i], 5100, (const unsigned char*)"LYRICSEND", 9)) != 0)
{
file_recovery->calculated_file_size+=pos_lyrics;
}