* fix some warnings
[citadel.git] / webcit / webserver.c
index 78ee06f3153c58a9c6c385b2f95630e36e8fb28c..ff6f9c70756664e77e8e48d0c865ed19cd605000 100644 (file)
@@ -519,7 +519,7 @@ void start_daemon(char *pid_file)
                        if (pid_file) {
                                fp = fopen(pid_file, "w");
                                if (fp != NULL) {
-                                       fprintf(fp, "%d\n", current_child);
+                                       fprintf(fp, "%ld\n", current_child);
                                        fclose(fp);
                                }
                        }