Signed-off-by: Markus Theil <markus.theil@xxxxxxxxxxxxx> --- scan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scan.c b/scan.c index e2a620a..8f8d8ba 100644 --- a/scan.c +++ b/scan.c @@ -1473,8 +1473,8 @@ static void print_vht_capa(const uint8_t type, uint8_t len, const uint8_t *data, const struct print_ies_data *ie_buffer) { printf("\n"); - print_vht_info(data[0] | (data[1] << 8) | - (data[2] << 16) | (data[3] << 24), + print_vht_info((__u32) data[0] | ((__u32)data[1] << 8) | + ((__u32)data[2] << 16) | ((__u32)data[3] << 24), data + 4); } -- 2.25.0