fix gpu warnings with signed/unsigned char