]> git.donarmstrong.com Git - mothur.git/blobdiff - metastatscommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / metastatscommand.cpp
index de03dab2a147174384d3e3ffce329c1e16fa07f5..4ad7f600232a37f0ccc15f8a69e719b6a9ff34c1 100644 (file)
@@ -367,7 +367,7 @@ int MetaStatsCommand::process(vector<SharedRAbundVector*>& thisLookUp){
                #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)
                                        //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