]> git.donarmstrong.com Git - mothur.git/blobdiff - seqsummarycommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / seqsummarycommand.cpp
index 3f7565923cb57d11673d581215c74509d1ac40b8..88478a10ec86f97802a1b5b152fcf434c7e6dc14 100644 (file)
@@ -584,7 +584,7 @@ int SeqSummaryCommand::createProcessesCreateSummary(vector<int>& startPosition,
                
                //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