Bruce Richardson 0ff9695e37 mem: fix build with gcc 5.1
On Fedora 22, with GCC 5.1, errors are reported due to array accesses
being potentially out of bounds. This commit fixes this by ensuring the
bounds check in the loop takes account of the array size.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
2015-06-02 18:24:28 +02:00
..
2015-05-22 16:06:22 +02:00
2015-05-29 20:27:23 +02:00
2015-06-02 18:24:28 +02:00
2014-11-27 13:09:51 +01:00