These are minor cleanups to fix a few compiler warnings. Two will remain: - one about mktemp() (but I haven't investigated if the workaround is portable; mktemp is used as input for mkdir, so it's safe in spite of the warning) - another about a longish copyright string literal in main.c that exceeds the minimum required compiler-supported size.