]> git.donarmstrong.com Git - mothur.git/blobdiff - bellerophon.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / bellerophon.cpp
index 013c4dd7e6dd4d704964a6d4c308885733469a1d..59c70a0a6b45697c2dab20849587d27e55a05537 100644 (file)
@@ -363,7 +363,7 @@ int Bellerophon::createProcesses(vector<int> mid) {
                                
                //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