1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00
Mingjie Shen fe92f676b4 gnrc/rpl: fix incorrect addition overflow check
Checking for overflow of integer addition by comparing against one of
the arguments of the addition does not work when the result of the
addition is automatically promoted to a larger type.

Fix by using an explicit cast to make sure that the result of the
addition is not implicitly converted to a larger type.
2023-06-17 02:25:11 -04:00
..
2023-06-08 19:03:32 +00:00
2023-06-13 12:11:07 +00:00
2022-02-21 15:15:02 +01:00
2023-05-31 16:31:20 +02:00
2021-01-21 11:22:33 +01:00
2018-06-11 19:12:02 +02:00
2022-08-04 15:09:20 +02:00
2022-07-25 11:08:31 +02:00