Rikard Falkeborn
34f3f1e7a6
Fix gcc strict-overflow error
...
Recent gcc (tested with 6.2.1) produces the following error when
compiling with both --enable-warningflags and --enable-debug.
In particular, it seems it is the combination of GCC_STACK_PROTECT_LIB
and -Wstrict-overflow=5 produces the error.
be_local.c:609:4: error: assuming signed overflow does not occur
when simplifying conditional
[-Werror=strict-overflow]
if(count > 0) {
Fix this by changing the type of count from int to size_t, which is
fine since count is never negative.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2016-09-20 22:48:00 +10:00
..
2016-02-23 13:09:39 +10:00
2012-04-25 20:02:36 -04:00
2016-08-30 18:10:40 +10:00
2016-01-04 13:27:08 +10:00
2016-01-15 14:47:36 +10:00
2016-01-15 14:47:36 +10:00
2016-08-30 18:10:40 +10:00
2016-05-05 13:52:23 +10:00
2016-08-30 18:10:40 +10:00
2016-01-04 13:27:08 +10:00
2014-01-15 15:54:56 +10:00
2011-10-17 12:03:02 -05:00
2016-09-20 22:48:00 +10:00
2016-08-30 18:10:40 +10:00
2016-09-09 14:59:58 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-05-05 13:52:23 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-08-30 18:10:40 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-08-31 13:01:07 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:59:19 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-02-23 12:41:36 +10:00
2016-01-04 13:27:08 +10:00
2016-08-30 18:10:40 +10:00
2016-01-04 13:27:08 +10:00
2015-10-18 10:59:23 +10:00
2015-10-18 10:59:23 +10:00
2015-12-04 11:06:49 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2015-10-18 10:59:23 +10:00
2012-01-07 11:27:41 -06:00
2011-08-11 20:17:21 -05:00
2016-02-23 12:15:43 +10:00
2016-05-05 13:52:23 +10:00
2016-01-04 13:27:08 +10:00
2016-01-04 13:27:08 +10:00
2014-01-28 20:19:25 +10:00
2016-09-03 20:38:13 +10:00
2016-01-04 13:27:08 +10:00
2012-01-07 11:27:41 -06:00
2011-08-15 07:07:13 -05:00
2016-08-30 18:10:40 +10:00
2016-01-04 13:27:08 +10:00
2016-02-23 12:15:43 +10:00
2016-01-04 13:27:08 +10:00
2016-02-23 12:41:36 +10:00
2016-01-04 13:27:08 +10:00
2013-01-04 21:49:37 +10:00
2013-01-04 21:49:37 +10:00
2016-05-05 13:52:23 +10:00
2016-02-23 12:41:36 +10:00
2016-01-04 13:27:08 +10:00