Changing variables to fix compiler warnings.

Changing variables to fix compiler warnings.