# HG changeset patch # User michael # Date 1202085091 0 # Node ID d1a8a747d85f011fddf380615d3c2ac2bd84dfff # Parent 327814e7bf03b51c13a82829fa4f03fafbab1f2e -Wwrite-strings nitpicking fix diff -r 327814e7bf03 -r d1a8a747d85f nutdec.c --- a/nutdec.c Mon Feb 04 00:26:43 2008 +0000 +++ b/nutdec.c Mon Feb 04 00:31:31 2008 +0000 @@ -359,7 +359,8 @@ unsigned int stream_id_plus1, chapter_start, chapter_len, count; int chapter_id, i; int64_t value, end; - char name[256], str_value[1024], type_str[256], *type= type_str; + char name[256], str_value[1024], type_str[256]; + const char *type= type_str; end= get_packetheader(nut, bc, 1, INFO_STARTCODE); end += url_ftell(bc);