]> git.donarmstrong.com Git - mothur.git/blobdiff - parsimony.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / parsimony.cpp
index 9dc8cf720a3001285d26657ea97915f53b8b2321..9ab193fa9bd6ffdbeaa77c71f1c454a0899ba093 100644 (file)
@@ -89,7 +89,7 @@ EstOutput Parsimony::createProcesses(Tree* t, vector< vector<string> > namesOfGr
                                
                //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