Fix type limit compiler warning
Don't use -Werror in "release" code