Created by: twizmwazin
This set of patches fixes up all warnings being presented as errors. Since -Werror is enabled, this allows building on current versions of gcc and clang, 8.2 and 6.0 respectively. Most of these changes are trivial, but a few towards the end probably should be more closely looked at.