X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=unweighted.cpp;fp=unweighted.cpp;h=3f4d205a82413c393a8a811ad9f772f1138e3b46;hp=30c54b69d2021acb5ed7b24f34971b52ce0cea77;hb=cac38e9e251998fa0b825d00189534534948d226;hpb=60928795782d8f8648ec373d6a96b53032a77429 diff --git a/unweighted.cpp b/unweighted.cpp index 30c54b6..3f4d205 100644 --- a/unweighted.cpp +++ b/unweighted.cpp @@ -85,7 +85,7 @@ EstOutput Unweighted::createProcesses(Tree* t, vector< vector > namesOfG //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 @@ -347,7 +347,7 @@ EstOutput Unweighted::createProcesses(Tree* t, vector< vector > namesOfG //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