explicit cast of vigra to unsigned char