extra: fix type issue handling ++= and --= operations
commita1d7a648bfb937278fba6aafc4a16e8a9ca2852a
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jan 2017 13:13:21 +0000 (20 16:13 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jan 2017 13:13:21 +0000 (20 16:13 +0300)
treeeb5a135f1c09b27f9ec01518ea62073f696fbcdc
parent514ff08d5d41df0062bcae29af99079c3a1f54b6
extra: fix type issue handling ++= and --= operations

We should be casting the the left type instead of the right type.

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