process.c warnings fix