context: make sure we pass a uint16_t to endianness macro.