X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylodiversitycommand.cpp;h=9b52fc9d67452d193986d844c0d10b81dac9572d;hb=aca78ed4a47dff8672ea8fd93cef0dfbaf0f7495;hp=b84ee2544638f17df4bf4a225ecd2bfb6c22842a;hpb=60928795782d8f8648ec373d6a96b53032a77429;p=mothur.git diff --git a/phylodiversitycommand.cpp b/phylodiversitycommand.cpp index b84ee25..9b52fc9 100644 --- a/phylodiversitycommand.cpp +++ b/phylodiversitycommand.cpp @@ -412,7 +412,7 @@ int PhyloDiversityCommand::createProcesses(vector& procIters, Tree* t, map< //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