]> git.donarmstrong.com Git - mothur.git/blobdiff - chopseqscommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / chopseqscommand.cpp
index 8c82992854d06d9a559ecd2cf32149ffbaef5b3c..8027224a02409f73f31c0c36c72ea13c13115af5 100644 (file)
@@ -372,7 +372,7 @@ bool ChopSeqsCommand::createProcesses(vector<linePair> lines, string filename, s
                
                //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