Fixing Warnings in GCC/MSVC

Warning levels in GCC are a bit weird,
so GCC wasn't giving an error (or warning)
in a place that was causing an error in MSVC.
-Uppded the warning levels and fixed the error.