]> git.donarmstrong.com Git - mothur.git/blobdiff - clustersplitcommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / clustersplitcommand.cpp
index 0dae8934f9331cdf5364769d6736a14e4fa56065..e61e10794caafa3e3cb8f5ffd45d847a7fd2bc8a 100644 (file)
@@ -971,7 +971,7 @@ vector<string>  ClusterSplitCommand::createProcesses(vector< map<string, string>
                
                //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