]> git.donarmstrong.com Git - mothur.git/blobdiff - indicatorcommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / indicatorcommand.cpp
index 36640e72b7995710565325658cfafa1ddfc67f58..74d63688333be27374c36fecc8147bc4419ee8bc 100644 (file)
@@ -1191,7 +1191,7 @@ vector<float> IndicatorCommand::getPValues(vector< vector<SharedRAbundFloatVecto
                                                
                        //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
@@ -1369,7 +1369,7 @@ vector<float> IndicatorCommand::getPValues(vector< vector<SharedRAbundVector*> >
             
                        //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