]> git.donarmstrong.com Git - mothur.git/blobdiff - weighted.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / weighted.cpp
index 91a21445e023e120b5409e7456062d8b863cca21..35c2c6c868982048f3daed2a4acd5d47d7727a8a 100644 (file)
@@ -68,7 +68,7 @@ EstOutput Weighted::createProcesses(Tree* t, vector< vector<string> > namesOfGro
                
                //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