You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/collada-dom/files/collada-dom-2.4.4-gcc6.patch

20 lines
589 B

commit 8e65676c1cbecde1c0c4d8c2e1cfb20fc49c410b
Author: rosen <rosen.diankov@mujin.co.jp>
Date: Wed Feb 24 12:49:14 2016 +0900
fix return type thanks to #22
diff --git a/dom/src/dae/daeMetaGroup.cpp b/dom/src/dae/daeMetaGroup.cpp
index 25fd9cc..c34ac4c 100644
--- a/dom/src/dae/daeMetaGroup.cpp
+++ b/dom/src/dae/daeMetaGroup.cpp
@@ -26,7 +26,7 @@ daeElement *daeMetaGroup::placeElement( daeElement *parent, daeElement *child, d
(void)offset;
daeString nm = child->getElementName();
if ( findChild( nm ) == NULL ) {
- return false;
+ return NULL;
}
daeElementRef el;