Fix 2 compiler warnings.

Our shop has a strict "no compiler warnings in production code" rule.  This fixes the two that keep tripping us up.