bugfix: fixed the warnings from the Microsoft C compiler. thanks Edwin Cleton for the report.