Help with array : How to compare

So, due the fact convert what arrive in char ... so due the fact I don't know what virtualwire send out then I convert every buffer element in char and the I compare the result ... is wrong like thinking ?

thanks
Andrea