Jef Driesen 1130b7eade Fix -Wsign-compare compiler warnings
Comparing signed and unsigned integer expressions can have unexpected
results because the signed integer will get promoted to an unsigned
integer. To avoid the warning, add an explicit cast to the unsigned
type, along with a check to catch negative values.
2021-01-05 09:32:45 +01:00
..
2020-08-11 15:16:36 +02:00
2016-01-04 19:50:51 +01:00
2016-01-04 19:50:51 +01:00
2020-08-11 15:16:36 +02:00
2016-01-04 19:50:51 +01:00
2021-01-04 20:20:52 +01:00
2018-04-03 21:44:08 +02:00
2018-04-03 21:44:08 +02:00
2016-02-26 07:55:40 +01:00
2014-03-19 09:16:07 +01:00