hcidump: use correct size to copy 'direction' value

frm.in is stored as an uint8_t, so we cannot copy an int there
directly.  use an intermediate variable so that it also works
on big-endian systems.
1 file changed