]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/parallel/set_operations.h
multiway_merge.h (multiway_merge_*, [...]): Replace int by appropriate difference_typ...
[thirdparty/gcc.git] / libstdc++-v3 / include / parallel / set_operations.h
index 6dd63c9b12812980673b54942c8b757759bd442a..346fb97775d6a6d2bb7b31a8ac9c652cd3fa9471 100644 (file)
@@ -444,7 +444,7 @@ namespace __gnu_parallel
        if (__iam == 0)
          {
            // Do the last block.
-           for (int __i = 0; __i < __num_threads; ++__i)
+           for (_ThreadIndex __i = 0; __i < __num_threads; ++__i)
              __r += __lengths[__i];
 
            __block_begin = __block_begins[__num_threads];
@@ -457,7 +457,7 @@ namespace __gnu_parallel
          }
           else
             {
-              for (int __i = 0; __i < __iam; ++__i)
+              for (_ThreadIndex __i = 0; __i < __iam; ++__i)
                __r += __lengths[ __i ];
 
               // Reset begins for copy pass.