Improve C style casts detection
Merge pull request #413 from Dmitry-Me/improveCStyleCastsDetection

Improve C style casts detection