]> git.donarmstrong.com Git - mothur.git/blobdiff - trimseqscommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / trimseqscommand.cpp
index 7f2a85287099cfafd8731b3055b232dfbad4a00f..de607c62f40b7e95083e3058aae53636b260503a 100644 (file)
@@ -1030,7 +1030,7 @@ int TrimSeqsCommand::createProcessesCreateTrim(string filename, string qFileName
 #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)
                                //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