Task scheduler: Use more const qualifiers
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 10 Jan 2018 11:27:43 +0000 (12:27 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 10 Jan 2018 11:27:43 +0000 (12:27 +0100)
source/blender/blenlib/intern/task.c

index 29daac1ae48e6719da660d32e44f0fdec8c91e4f..a41e4f0135267aafd48e196f48fb0deb5a3e26e4 100644 (file)
@@ -1029,7 +1029,7 @@ static void parallel_range_func(
        }
 }
 
-static void palallel_range_single_thread(int start, int stop,
+static void palallel_range_single_thread(const int start, int const stop,
                                          void *userdata,
                                          TaskParallelRangeFunc func,
                                          const ParallelRangeSettings *settings)