Corrected compiler warnings. No functional changes.