Compiler warnings

Fixed compiler warnings - const