[Bf-blender-cvs] [e4c9d39] compositor-2016: Fix compilation with strict compiler flags
Sergey Sharybin
noreply at git.blender.org
Wed Jun 8 21:46:51 CEST 2016
Commit: e4c9d3975703bb7f100ed8d163e1b024a5d259c4
Author: Sergey Sharybin
Date: Fri May 13 17:37:39 2016 +0200
Branches: compositor-2016
https://developer.blender.org/rBe4c9d3975703bb7f100ed8d163e1b024a5d259c4
Fix compilation with strict compiler flags
Some const qualifier was discarding.
===================================================================
M source/blender/blenkernel/intern/library.c
===================================================================
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index 0a681a7..961b45d 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
More information about the Bf-blender-cvs
mailing list