VirtualWire

The function expects to be given an array of type uint8_t.
If you give it an array of that type, you don't need the cast.