dialog: Avoid assumption that enum val_type can have negative value. 20140218030509/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 18 Feb 2014 01:57:46 +0000 (17:57 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 18 Feb 2014 02:00:38 +0000 (18:00 -0800)
commitf38e00f12ee2c80e178abfbb340be7db898bd589
tree2f86a4ce9429aca5bbcf4c9cb319c9815dd10d7a
parent0b535a38bf66c42f42908d22577252a26ee541f0
dialog: Avoid assumption that enum val_type can have negative value.

Reported by Clang.
src/ui/gui/dialog-common.c