]> git.donarmstrong.com Git - mothur.git/blobdiff - chimerauchimecommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / chimerauchimecommand.cpp
index 61a91f4116b171395981f453f6c39e65bd2d2b52..d7df400d1c70cd8842dd48120f5d9974311ad87d 100644 (file)
@@ -1633,7 +1633,7 @@ int ChimeraUchimeCommand::createProcesses(string outputFileName, 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
@@ -1817,7 +1817,7 @@ int ChimeraUchimeCommand::createProcessesGroups(string outputFName, string filen
                                
                //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