increased number warning flag for g++

http://stackoverflow.com/questions/5088460/flags-to-enable-thorough-and-verbose-g-warnings
compile with new flags

corrected cast old style