+ fix many minor warnings, activate -Wall for gcc

This commit is contained in:
wwmayer
2015-08-02 22:32:18 +02:00
parent 92a65a8b5b
commit e7441149f0
20 changed files with 33 additions and 34 deletions

View File

@@ -496,7 +496,7 @@ void Document::slotChangedObject(const App::DocumentObject& Obj, const App::Prop
SoGroup* childGroup = viewProvider->getChildRoot();
// size not the same -> build up the list new
if(childGroup->getNumChildren() != children.size()){
if(childGroup->getNumChildren() != static_cast<int>(children.size())){
childGroup->removeAllChildren();