commit 892ecc9dd8a7d5e0e0492f26a07375d6c4a898b4
parent f9e6b6913056e48f3c70d9b7154556949cbc4a12
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Tue, 15 Oct 2019 12:19:08 +0200
Fix gcc warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/senc_scene_analyze.c b/src/senc_scene_analyze.c
@@ -325,7 +325,7 @@ extract_connex_components
/* Record crt_side both as component and triangle level */
if((*trg_used & crt_side_flag) == 0) {
OK2(darray_side_id_push_back(¤t_component, &crt_side_id));
- *trg_used |= (unsigned char)crt_side_flag;
+ *trg_used = *trg_used | (unsigned char)crt_side_flag;
}
/* Store neighbour's sides in a waiting stack */