]> git.donarmstrong.com Git - mothur.git/blobdiff - countseqscommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / countseqscommand.cpp
index 88c1409b0dc48f18b07ed418339ffc47ca7166f8..cfe8d27e2909d3174e37ce9a161764902e164f11 100644 (file)
@@ -427,7 +427,7 @@ int CountSeqsCommand::createProcesses(GroupMap*& groupMap, string outputFileName
                
                //loop through and create all the processes you want
                while (process != processors-1) {
-                       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