# HG changeset patch # User diego # Date 1275127915 0 # Node ID 01540ca7037d4ffb185bffaec173ad7f8ff7d7d1 # Parent 160052767c65c8074685abc370ecbdaa3c505694 Mark key_type structure as const. diff -r 160052767c65 -r 01540ca7037d command.c --- a/command.c Sat May 29 10:10:30 2010 +0000 +++ b/command.c Sat May 29 10:11:55 2010 +0000 @@ -529,7 +529,7 @@ MPContext *mpctx) { m_property_action_t* ka; char* meta; - static m_option_t key_type = + static const m_option_t key_type = { "metadata", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL }; if (!mpctx->demuxer) return M_PROPERTY_UNAVAILABLE;