]> git.donarmstrong.com Git - mothur.git/blobdiff - treegroupscommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / treegroupscommand.cpp
index 2ea653bc7c7b9186ae33e235543d3ad62d8fe70e..4b4f21c86366000b8efb195bf94232059a78d03c 100644 (file)
@@ -800,7 +800,7 @@ int TreeGroupCommand::process(vector<SharedRAbundVector*> thisLookup) {
 #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)
                 //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);