]> git.sur5r.net Git - u-boot/commit
Fix a possible overflow case detected by gcc 4.3.2
authorEmil Medve <Emilian.Medve@Freescale.com>
Mon, 23 Feb 2009 16:43:36 +0000 (10:43 -0600)
committerGerald Van Baren <vanbaren@cideas.com>
Wed, 1 Apr 2009 23:29:39 +0000 (19:29 -0400)
commit13d93f38e86818739317b0206d597265cf9e675e
tree7f136fef0434a7d1deb9f83df9a1c2fb901f97d8
parenta22d9cfbb5bcfb3dc6ffd64d391b568e8a0ce383
Fix a possible overflow case detected by gcc 4.3.2

.../dtc/libfdt/fdt_sw.c: In function 'fdt_end_node':
.../dtc/libfdt/fdt_sw.c:81: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
libfdt/fdt_sw.c