diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2015-09-25 11:05:51 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2015-09-25 11:05:51 +0200 |
commit | 06a133135f4dd0f0618cccd0c4d046f8d60c9790 (patch) | |
tree | 548257bfef7fb6b28fa0cda5d1e5f41a6a5de85a /src | |
parent | b8b07511b107bb5af9e6f38bbfc9fcc4a7a75622 (diff) |
Fix comparison between signed/unsigned warning for real
Diffstat (limited to 'src')
-rw-r--r-- | src/print_wireless_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c index 79e4cd8..039ae19 100644 --- a/src/print_wireless_info.c +++ b/src/print_wireless_info.c @@ -125,7 +125,7 @@ static void find_ssid(uint8_t *ies, uint32_t ies_len, uint8_t **ssid, uint32_t * } if (ies_len < 2) return; - if (ies_len < 2 + (uint8_t)ies[1]) + if (ies_len < (uint32_t)(2 + ies[1])) return; *ssid_len = ies[1]; |