Fix windows diff eofnl error

This fixes the test suite problem on Windows. There is just a dumb mistake in the timestamp comparison helper.

Also fixed the type mismatch warnings that MVSC is generating, too.