bugfix:
- fix compiler warnings under linux.