The standard memchr() uses an int for its second argument. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>