]> git.donarmstrong.com Git - mothur.git/blobdiff - shhhercommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / shhhercommand.cpp
index 21dd089c40824d0df1d1e6cdd4ec27eed977cd36..282b1284c94f6208a659a5b8ea1c30b5c5cad7cc 100644 (file)
@@ -2070,7 +2070,7 @@ int ShhherCommand::createProcesses(vector<string> filenames){
                
                //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