Commit 0599d812 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Add missing const qualifier

parent a80e73e4
...@@ -675,7 +675,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj) ...@@ -675,7 +675,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj)
uint8_t *p_peek, *p_data; uint8_t *p_peek, *p_data;
int i_peek, i_title, i_author, i_copyright, i_description, i_rating; int i_peek, i_title, i_author, i_copyright, i_description, i_rating;
vlc_iconv_t cd = (vlc_iconv_t)-1; vlc_iconv_t cd = (vlc_iconv_t)-1;
char *ib = NULL; const char *ib = NULL;
char *ob = NULL; char *ob = NULL;
size_t i_ibl, i_obl, i_len; size_t i_ibl, i_obl, i_len;
...@@ -688,7 +688,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj) ...@@ -688,7 +688,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj)
/* FIXME i_size*3 is the worst case. */ /* FIXME i_size*3 is the worst case. */
#define GETSTRINGW( psz_str, i_size ) \ #define GETSTRINGW( psz_str, i_size ) \
psz_str = (char *)calloc( i_size*3+1, sizeof( char ) ); \ psz_str = (char *)calloc( i_size*3+1, sizeof( char ) ); \
ib = (char *)p_data; \ ib = (const char *)p_data; \
ob = psz_str; \ ob = psz_str; \
i_ibl = i_size; \ i_ibl = i_size; \
i_obl = i_size*3; \ i_obl = i_size*3; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment