Fix warnings in process.c