]> git.donarmstrong.com Git - mothur.git/blobdiff - makecontigscommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / makecontigscommand.cpp
index 72e8ea09aeeac366fc08175dd7019e404020835d..15f002bffdbdc96e65ba18522955d500aa0fa8b0 100644 (file)
@@ -690,7 +690,7 @@ int MakeContigsCommand::createProcesses(vector< vector<string> > files, string o
                
                //loop through and create all the processes you want
                while (process != processors-1) {
-                       int pid = fork();
+                       pid_t pid = fork();
                        
                        if (pid > 0) {
                                processIDS.push_back(pid);  //create map from line number to pid so you can append files in correct order later