bug2314 113 B

1234
  1. o Minor bugfixes:
  2. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5. Fixes
  3. bug 2314.