]> git.donarmstrong.com Git - mothur.git/blobdiff - distancecommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / distancecommand.cpp
index 8be3ad4f8e084c688ab7e4937944f97f52ed521c..80ce6e5117799b2dcde34ce537fca421f926fd42 100644 (file)
@@ -534,7 +534,7 @@ void DistanceCommand::createProcesses(string filename) {
                
                //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