client: fix pointer vs uint8_t comparison