Compilation without warning under Windows 7-64

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