extra: set hard max correctly in loops
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Nov 2012 07:16:55 +0000 (10:16 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Nov 2012 07:16:55 +0000 (10:16 +0300)
commit47e4995017db2bd31c6f3e35365dfed97a25c91b
tree52e9249f2a27b3f0b2821e3d27c5fb43e901a0bb
parente6261b26856fa15d1dee6a60fa33056d23ef471e
extra: set hard max correctly in loops

It should be checking if the limitter is a hard max, not whether it is the
type max.

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