bugfix: fix compiler warnings.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>