Fix warnings in C file.