extra: get max correctly
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Nov 2012 11:21:52 +0000 (14:21 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Nov 2012 11:21:52 +0000 (14:21 +0300)
commit159b0ac23ba1f96cd30b120124d41528a562a5cc
tree711eefe5331a83889c4b585838b575eab0050336
parent47e4995017db2bd31c6f3e35365dfed97a25c91b
extra: get max correctly

The original code only took known values or the type max but the intent
was to use the implied max or the type max.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_extra.c