]> git.donarmstrong.com Git - mothur.git/blobdiff - filterseqscommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / filterseqscommand.cpp
index 031ac0ecf5f6d5fcc6d8449fd8b35a90a95aba85..6041c95d59952fbaf1c856055181d4e145c3a9c0 100644 (file)
@@ -653,7 +653,7 @@ int FilterSeqsCommand::createProcessesRunFilter(string F, string filename, strin
                
                //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
@@ -1079,7 +1079,7 @@ int FilterSeqsCommand::createProcessesCreateFilter(Filters& F, 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