]> git.donarmstrong.com Git - mothur.git/blobdiff - trimflowscommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / trimflowscommand.cpp
index 37beccd53455ec4f07cabb24ac88b1a3e2f28253..5800cde2146f108ae6efc3d1bce50b9bb9913750 100644 (file)
@@ -825,7 +825,7 @@ int TrimFlowsCommand::createProcessesCreateTrim(string flowFileName, string trim
                
                //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