config.c: fix up some compiler warnings