Fix GCC diagnostics.