+ fix bug in mesh bounding box, fix clang warning

This commit is contained in:
wmayer
2014-11-23 10:55:36 +01:00
parent 425c5dc0fd
commit 48e7e61b6d
2 changed files with 7 additions and 5 deletions

View File

@@ -283,7 +283,7 @@ void PropertyEnumeration::setEnums(const char** plEnums)
// check for NULL termination
const char* p = *_EnumArray;
unsigned int i=0;
while(*(p++) != NULL)i++;
while(*(p++) != 0)i++;
// very unlikely to have enums with more then 5000 entries!
assert(i<5000);
}