]> git.donarmstrong.com Git - mothur.git/blobdiff - chimeraccodecommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / chimeraccodecommand.cpp
index 925be97f050b10d0b33dd911afc547198cbad712..b266025f1720d5c0ef7366d1ee7d155182f3fa21 100644 (file)
@@ -633,7 +633,7 @@ int ChimeraCcodeCommand::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