X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=unifracweightedcommand.cpp;h=e7009322c66ba8df3a7838fca8073bbfcd0034dd;hb=a89c6295ae9a35fcaaab7fa50dcb68360dd543b0;hp=fb365776a6adccb86b0c7f968de55333431e4c81;hpb=60928795782d8f8648ec373d6a96b53032a77429;p=mothur.git diff --git a/unifracweightedcommand.cpp b/unifracweightedcommand.cpp index fb36577..e700932 100644 --- a/unifracweightedcommand.cpp +++ b/unifracweightedcommand.cpp @@ -768,7 +768,7 @@ int UnifracWeightedCommand::createProcesses(Tree* t, vector< vector > 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