Добрый день !
Есть такое выражение:
char * s1;
px->n1 = px->prec < 0 ? strlen(px->s) : (s1 = (char *)memchr((void *)px->s, '\0', px->prec)) != 0 ? s1 - px->s : px->prec;
px->s это char *
Ругается
warning: signed and unsigned type in conditional expression
на строку : px->prec)) != 0 ? s1 - px->s : px->prec;
Где ошибка ????
|