]> git.donarmstrong.com Git - mothur.git/blobdiff - phylodiversitycommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / phylodiversitycommand.cpp
index b84ee2544638f17df4bf4a225ecd2bfb6c22842a..9b52fc9d67452d193986d844c0d10b81dac9572d 100644 (file)
@@ -412,7 +412,7 @@ int PhyloDiversityCommand::createProcesses(vector<int>& procIters, Tree* t, map<
                                
                //loop through and create all the processes you want
                while (process != processors) {
-                       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