]> git.donarmstrong.com Git - mothur.git/blobdiff - aligncommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / aligncommand.cpp
index 6b0ef5a8b661efd635ad918965a4bd047e2aef52..3222f8c2d72a32bef9898eb71dd9d270056de0c3 100644 (file)
@@ -865,7 +865,7 @@ int AlignCommand::createProcesses(string alignFileName, string reportFileName, 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