changeset 31200:01540ca7037d

Mark key_type structure as const.
author diego
date Sat, 29 May 2010 10:11:55 +0000
parents 160052767c65
children 203789464176
files command.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;