]> git.donarmstrong.com Git - mothur.git/blobdiff - preclustercommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / preclustercommand.cpp
index 9acfa650a3822a6a771d42d2740a56c8ce773930..def53255b1c124c2d40ae76120723f78f47a7bec 100644 (file)
@@ -383,7 +383,7 @@ int PreClusterCommand::createProcessesGroups(string newFName, string newNName, s
                
                //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