Fix some minor C4800 warnings.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Fix some C4100 and C4505 warnings.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Fix some C4005, C4018, C4100, C4101, C4204, C4245, C4505 and C4805 warnings.

... too many changes.
I doesn't seem to brake anything, but running complete test suite should be done...

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>
Enhancements to time handling

* GetTimeModeMapping argument QueryTickCount is now "&" instead of "*"
* It seems SYSTEMTIME can be assigned ("=") also. No need for memcpy.
* Fixed some signed/unsigned warnings.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>