]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracweightedcommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / unifracweightedcommand.cpp
index fb365776a6adccb86b0c7f968de55333431e4c81..e7009322c66ba8df3a7838fca8073bbfcd0034dd 100644 (file)
@@ -768,7 +768,7 @@ int UnifracWeightedCommand::createProcesses(Tree* t, vector< vector<string> > na
 #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);  //create map from line number to pid so you can append files in correct order later