]> git.donarmstrong.com Git - mothur.git/blobdiff - unweighted.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / unweighted.cpp
index 30c54b69d2021acb5ed7b24f34971b52ce0cea77..3f4d205a82413c393a8a811ad9f772f1138e3b46 100644 (file)
@@ -85,7 +85,7 @@ EstOutput Unweighted::createProcesses(Tree* t, vector< vector<string> > namesOfG
                
                //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
@@ -347,7 +347,7 @@ EstOutput Unweighted::createProcesses(Tree* t, vector< vector<string> > namesOfG
 
                //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