]> git.donarmstrong.com Git - mothur.git/blobdiff - matrixoutputcommand.cpp
changed int to pid_t type in fork(). roughed in get.mimarkscommand.
[mothur.git] / matrixoutputcommand.cpp
index 67e54d034ecf6d1658e69acf0841c0f72115fee4..5665426e537deca591a971a560f58283020eb9d3 100644 (file)
@@ -531,7 +531,7 @@ int MatrixOutputCommand::process(vector<SharedRAbundVector*> thisLookup){
                 #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);