Fix MSVC compiler warnings.

After r46 we have to build under stricter compiler flags on Windows. This fixes
the seemingly stupid warning:
  forcing value to bool 'true' or 'false' (performance warning)


git-svn-id: http://ots.googlecode.com/svn/trunk@47 a4e77c2c-9104-11de-800e-5b313e0d2bf3
15 files changed