ls: placate gcc-4.7.0's -Wstrict-overflow
commit31bbcc7abfdc476bf23da4a1911bda35910c9fe8
authorJim Meyering <meyering@redhat.com>
Sat, 28 May 2011 20:10:00 +0000 (28 22:10 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 28 May 2011 20:10:00 +0000 (28 22:10 +0200)
treef5e06e58b255bdde5f13ba5d2c577eeb5bdc6326
parentd0a9750e08a4cf0329f99a9956ab85f196a81263
ls: placate gcc-4.7.0's -Wstrict-overflow

* src/ls.c (enum parse_state): Define.
(parse_ls_color): Use enum names in place of constants,
thus avoiding the offending -1.
src/ls.c