diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-13 18:37:39 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-13 18:37:39 +0300 |
commit | 89c6b58ef5beced631beda50fe89a5087c1e8348 (patch) | |
tree | b1e58d98460f2711f34fce1614f8d3ea5d154583 | |
parent | 8b92d728ae158e26f9cc5ea9c804ed5dddea3685 (diff) |
Fix compilation with strict compiler flags
Some const qualifier was discarding.
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 0a681a75f84..961b45df4e6 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -1783,7 +1783,7 @@ void BKE_main_id_clear_newpoins(Main *bmain) } } -static void lib_indirect_test_id(ID *id, Library *lib) +static void lib_indirect_test_id(ID *id, const Library *lib) { #define LIBTAG(a) \ if (a && a->id.lib) { a->id.tag &= ~LIB_TAG_INDIRECT; a->id.tag |= LIB_TAG_EXTERN; } (void)0 |