changeset 31729:302e69a83e99

Change cast to avoid a warning.
author reimar
date Sun, 25 Jul 2010 09:13:43 +0000
parents 25820228c2f1
children 6be4d46328dd
files command.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/command.c	Sun Jul 25 09:06:37 2010 +0000
+++ b/command.c	Sun Jul 25 09:13:43 2010 +0000
@@ -605,7 +605,7 @@
             return M_PROPERTY_OK;
         case M_PROPERTY_GET_TYPE:
             if(!ka->arg) return M_PROPERTY_ERROR;
-            *(m_option_t**)ka->arg = &key_type;
+            *(const m_option_t**)ka->arg = &key_type;
             return M_PROPERTY_OK;
         }
     }