fix wrong type of case statements
authorMatthias Braun <matze@braunis.de>
Thu, 3 Nov 2011 16:45:09 +0000 (17:45 +0100)
committerMatthias Braun <matze@braunis.de>
Thu, 3 Nov 2011 16:54:37 +0000 (17:54 +0100)
commit7a3a774233bdc473745066703f365431c3a4fcf1
tree200fcc9cd88ee75376e08ad0e82c2508fa7a664a
parente61e25e3fbef7b8894e58532b72ea1069f828561
fix wrong type of case statements

§6.8.4.2:3 The expression of each case label shall be an integer
           constant expression
§6.8.4.2:5 The constant expression in each case label is converted to the
           promoted type of the controlling expression.
parser.c