Fixes owerflow warning during compilation.