some other fix for issue #12
@vesely-david please check if now the compilation is warning free.
If not post the new output if yes just close the #12 :)