trim: avoid a warning from -O2 -Wstrict-overflow
authorJim Meyering <meyering@redhat.com>
Sat, 28 May 2011 14:00:20 +0000 (16:00 +0200)
committerIan Beckwith <ianb@erislabs.net>
Thu, 9 Jun 2011 19:48:15 +0000 (20:48 +0100)
commitcfd76ac9d8626361147a0044a1fe5c4740ec5ee3
tree9cf239dc28abe5783dc80e72a71495ca6fb90822
parent586b707390e87b1fcc69ab7c9207036d2d10165b
trim: avoid a warning from -O2 -Wstrict-overflow

* lib/trim.c (trim2): Declare local to be "unsigned int", not "int".
(cherry picked from commit 244906802a300a1744de8881857a3a2897b3db8b)
ChangeLog
lib/trim.c