]> git.donarmstrong.com Git - mothur.git/blobdiff - getmetacommunitycommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / getmetacommunitycommand.cpp
index 288e5ca2e0f84daf6f92eeba2a2b4a93943b596c..5b86c7420e1e5e2cbe564fd766edb63919388ea3 100644 (file)
@@ -408,7 +408,7 @@ int GetMetaCommunityCommand::createProcesses(vector<SharedRAbundVector*>& thislo
                
                //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