Fix error on some compiler

when I port this project for linux ,I compile this code in Android source code is failed, because that parameter type is different with function defined.