Remove warning in case of some kind of type
(Famous problem of C not allowing to cast a T (*)[N] into a const T (*)[N].
This commit is contained in:
1 parent
d0fe7f3e25
commit
482e1631fa
1 file changed
+1
-1
@@ -390,7 +390,7 @@
|
||||
M_GET_IT_PREVIOUS cont_oplist (it2); \
|
||||
while (!M_GET_IT_END_P cont_oplist (it2) \
|
||||
&& !(M_C3(name,sort_name,_cmp)(M_GET_IT_CREF cont_oplist (it2), \
|
||||
&x)) <= 0) { \
|
||||
M_CONST_CAST(type_t, &x))) <= 0) { \
|
||||
memcpy(M_GET_IT_REF cont_oplist (it21), \
|
||||
M_GET_IT_CREF cont_oplist (it2), sizeof (type_t) ); \
|
||||
M_GET_IT_SET cont_oplist (it21, it2); \
|
||||
|
||||
Reference in new issue
Block a user