From d8abda758335f3cd7008cab460906aca5ca0529b Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Fri, 29 Apr 2022 19:55:02 +0200 Subject: [PATCH] Fix issue (implicit const cast) --- m-algo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/m-algo.h b/m-algo.h index 59dc57ec..0d6fb550 100644 --- a/m-algo.h +++ b/m-algo.h @@ -962,7 +962,7 @@ M_CALL_IT_NEXT(cont_oplist, itSrc), \ M_CALL_IT_NEXT(cont_oplist, itDst) ) { \ type_t *dstItem = M_CALL_IT_REF(cont_oplist, itDst); \ - type_t const *srcItem = M_CALL_IT_REF(cont_oplist, itSrc); \ + type_t const *srcItem = M_CALL_IT_CREF(cont_oplist, itSrc); \ M_CALL_ADD(type_oplist, *dstItem, *dstItem, *srcItem); \ } \ } \ @@ -980,7 +980,7 @@ M_CALL_IT_NEXT(cont_oplist, itSrc), \ M_CALL_IT_NEXT(cont_oplist, itDst) ) { \ type_t *dstItem = M_CALL_IT_REF(cont_oplist, itDst); \ - type_t const *srcItem = M_CALL_IT_REF(cont_oplist, itSrc); \ + type_t const *srcItem = M_CALL_IT_CREF(cont_oplist, itSrc); \ M_CALL_SUB(type_oplist, *dstItem, *dstItem, *srcItem); \ } \ } \ @@ -998,7 +998,7 @@ M_CALL_IT_NEXT(cont_oplist, itSrc), \ M_CALL_IT_NEXT(cont_oplist, itDst) ) { \ type_t *dstItem = M_CALL_IT_REF(cont_oplist, itDst); \ - type_t const *srcItem = M_CALL_IT_REF(cont_oplist, itSrc); \ + type_t const *srcItem = M_CALL_IT_CREF(cont_oplist, itSrc); \ M_CALL_MUL(type_oplist, *dstItem, *dstItem, *srcItem); \ } \ } \ @@ -1016,7 +1016,7 @@ M_CALL_IT_NEXT(cont_oplist, itSrc), \ M_CALL_IT_NEXT(cont_oplist, itDst) ) { \ type_t *dstItem = M_CALL_IT_REF(cont_oplist, itDst); \ - type_t const *srcItem = M_CALL_IT_REF(cont_oplist, itSrc); \ + type_t const *srcItem = M_CALL_IT_CREF(cont_oplist, itSrc); \ M_CALL_DIV(type_oplist, *dstItem, *dstItem, *srcItem); \ } \ } \