Fixed argument type in function definition.

Mismatching argument type in header file caused compiling error on Mac OS X.