Compilation without warning under Windows 7-64

Some minors modifications to make the code compile under Windows 7-64.