Insert static_cast to sepcify method to call
Merge pull request #513 from unnonouno/fix-save-for-clang

Insert static_cast to sepcify method to call