shared: Fix the incorrect type with bit shift
authorTedd Ho-Jeong An <tedd.an@intel.com>
Thu, 17 Feb 2022 06:31:45 +0000 (22:31 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:53 +0000 (14:55 +0530)
commit4dcbf938d22ddaad17ec134eebd5b8f35f17dc1b
tree35ee7a9014a2087be1a75250b7ee04d7ea25d79d
parent086cdc93ba72dd68e1f996785c41e5a7c60ff6a3
shared: Fix the incorrect type with bit shift

This patch fixes the following runtime error:

$ sudo ./monitor/btmon -w test.btsnoop
  Bluetooth monitor ver 5.63
  src/shared/btsnoop.c:339:18: runtime error: left shift of 65535 by 16 places cannot be represented in type 'int'

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/btsnoop.c