Fix casting issue.
Merge branch 'master', remote-tracking branch 'origin'