]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / summarysharedcommand.cpp
index fd8f7750b641a359efdda2783f9e79450b9eab6d..66a0113899cf32595b1af20c024f8b8210c23aa1 100644 (file)
@@ -626,7 +626,7 @@ int SummarySharedCommand::process(vector<SharedRAbundVector*> thisLookup, string
 #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);