commit 28730c576a88173cd1f2f1bd0f3a9c2386e044c0
parent 01dd4cd24f717d73293deb57a7369f1f73a412a7
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 15 Jun 2020 16:16:43 +0200
Fix a conversion warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/senc3d_internal_types.h b/src/senc3d_internal_types.h
@@ -67,7 +67,7 @@ cmp_trg_id
{
const trg_id_t* t1 = ptr1;
const trg_id_t* t2 = ptr2;
- return (*t1) - (*t2);
+ return (int)(*t1) - (int)(*t2);
}
/* Side IDs type use the same base type than Trg IDs */