diff --git a/src/ifcgeomserver/IfcGeomServer.cpp b/src/ifcgeomserver/IfcGeomServer.cpp index 25d7d5e0eb..65d55c944e 100644 --- a/src/ifcgeomserver/IfcGeomServer.cpp +++ b/src/ifcgeomserver/IfcGeomServer.cpp @@ -629,7 +629,7 @@ int main () { } case NEXT: { Next n; n.read(std::cin); - has_more = iterator->next() != 0; + has_more = static_cast(iterator->next()); if (!has_more) { delete file; delete iterator;