Windows: remove warnings from cm_daemon.c