diff --git a/src/metaflac/main.c b/src/metaflac/main.c index 302b0ffe..6cb02bbe 100644 --- a/src/metaflac/main.c +++ b/src/metaflac/main.c @@ -1756,7 +1756,7 @@ FLAC__bool set_vc_field(const char *filename, FLAC__StreamMetadata *block, const FLAC__bool field_name_matches_entry(const char *field_name, unsigned field_name_length, const FLAC__StreamMetadata_VorbisComment_Entry *entry) { - FLAC__byte *eq = memchr(entry->entry, '=', entry->length); + const FLAC__byte *eq = memchr(entry->entry, '=', entry->length); #if defined _MSC_VER || defined __MINGW32__ #define FLAC__STRNCASECMP strnicmp #else