Fixed compiler warnings in Visual Studio (github issue #8)
Use same parameter type as in header file.