Fix stupid code that causes warnings

This wanring gets treated as errors in some versions of GCC