numeric: Avoid using invalid FMT_* as special value.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 17 Feb 2014 23:38:01 +0000 (15:38 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 18 Feb 2014 02:00:38 +0000 (18:00 -0800)
commitb3f647847a611237213102734f1cd2e9d2c3b5ab
tree9e6ba88d82a88450189f636f31a2d8920cbfe16a
parent0f893adf05c12df3d1e94ab5f55a65f9f47cc5ae
numeric: Avoid using invalid FMT_* as special value.

Clang reported that "f.type != -1" is always true, so I guess it treats
enum fmt_type as unsigned.  This commit fixes the problem.
src/language/dictionary/numeric.c