]> git.donarmstrong.com Git - mothur.git/blobdiff - rarefact.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / rarefact.cpp
index 039cde9b9affb15da629fb2fc6a8f3162e470c20..83a6306db7568ac228fb110f1ad1c405cec9c7ec 100644 (file)
@@ -123,7 +123,7 @@ int Rarefact::createProcesses(vector<int>& procIters, RarefactionCurveData* rcd,
                
                //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