comparison command.c @ 31729:302e69a83e99

Change cast to avoid a warning.
author reimar
date Sun, 25 Jul 2010 09:13:43 +0000
parents 25820228c2f1
children a60157df1f1f
comparison
equal deleted inserted replaced
31728:25820228c2f1 31729:302e69a83e99
603 if(!ka->arg) return M_PROPERTY_ERROR; 603 if(!ka->arg) return M_PROPERTY_ERROR;
604 *(char**)ka->arg = meta; 604 *(char**)ka->arg = meta;
605 return M_PROPERTY_OK; 605 return M_PROPERTY_OK;
606 case M_PROPERTY_GET_TYPE: 606 case M_PROPERTY_GET_TYPE:
607 if(!ka->arg) return M_PROPERTY_ERROR; 607 if(!ka->arg) return M_PROPERTY_ERROR;
608 *(m_option_t**)ka->arg = &key_type; 608 *(const m_option_t**)ka->arg = &key_type;
609 return M_PROPERTY_OK; 609 return M_PROPERTY_OK;
610 } 610 }
611 } 611 }
612 return M_PROPERTY_NOT_IMPLEMENTED; 612 return M_PROPERTY_NOT_IMPLEMENTED;
613 } 613 }