BUILD: log: fix build warning on Solaris
authorWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 00:38:33 +0000 (01:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 01:23:51 +0000 (02:23 +0100)
commit0f28f82cec1621cebc4420ab2ef9dbc794bd890c
tree07df28ba5f476565aa1d1da6c328e73ebe790f51
parent668ae532b9edd39907d3e646fb6a8f526116607f
BUILD: log: fix build warning on Solaris

The is* macros must not use a char on Solaris. Unsigned char is OK.
Casting char to int is wrong as well since we get a negative value.

  src/log.c: In function `parse_logformat_string':
  src/log.c:454: warning: subscript has type `char'
src/log.c