fixed signed/unsigned mismatch warning
parent
694f4c2e34
commit
e51bb1e77e
|
@ -5042,7 +5042,7 @@ unsigned char *m3d_save(m3d_t *model, int quality, int flags, unsigned int *size
|
|||
ptr += sprintf(ptr, "\r\n");
|
||||
}
|
||||
/* mathematical shapes face */
|
||||
if (model->numshape != (flags & M3D_EXP_NOFACE)) {
|
||||
if (model->numshape != (M3D_INDEX)(flags & M3D_EXP_NOFACE)) {
|
||||
for (j = 0; j < model->numshape; j++) {
|
||||
sn = _m3d_safestr(model->shape[j].name, 0);
|
||||
if (!sn) {
|
||||
|
|
Loading…
Reference in New Issue