kamil a9b2b066a2 Avoid potential undefined behavior in bta2dpd(8)
The operator >> causes implicit promotion to int.

There is need to cast the result back to uint8_t in order to save the
return value to a data undef a pointe of type uint8_t.

Requested by GCC when building with Undefined Behavior Sanitizer.
2018-07-25 19:03:50 +00:00
..