Fixed warnings

Signed-off-by: Grafe <flingelfrank@hotmail.com>