]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: fix pointer wrap around compiler warnings
authorSami Kerola <kerolasa@iki.fi>
Sun, 17 Jun 2012 13:01:34 +0000 (15:01 +0200)
committerSami Kerola <kerolasa@iki.fi>
Sun, 17 Jun 2012 16:00:00 +0000 (18:00 +0200)
commit327b7c5bfb3761a8125a41e6a059cb6a5ba5cc3d
treea3328194e18035225b740153380c4c612e4fcb4a
parent02206bfbd7ebdfcab02fd828e0b23f6b42f1cc5b
more: fix pointer wrap around compiler warnings

more.c:318:5: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]
more.c:362:3: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
text-utils/more.c