Fix typo.
Fix GCC warnings.