diff options
author | Inga Stotland <inga.stotland@intel.com> | 2022-03-30 14:17:47 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2022-03-31 11:21:56 -0700 |
commit | ff35b1d2e97e68f67cc556f85005636b65a190cb (patch) | |
tree | 28c4a5e722f7f53d381af324fa4186e57df5dce0 /emulator | |
parent | 4a06a31be0453d7c8208108dccbb7cfacf768bc4 (diff) | |
download | bluez-ff35b1d2e97e68f67cc556f85005636b65a190cb.tar.gz |
mesh: use explicit uint32_t when bit shifting left
This addresses a situation when a boolean type is represented by
an integer and performing a left shift on a boolean causes
an integer overflow.
This fixes the following runtime error:
"left shift of 1 by 31 places cannot be represented in type 'int'"
Diffstat (limited to 'emulator')
0 files changed, 0 insertions, 0 deletions