diff --git a/libsrc/meshing/meshtype.cpp b/libsrc/meshing/meshtype.cpp index 73c38901..120efffc 100644 --- a/libsrc/meshing/meshtype.cpp +++ b/libsrc/meshing/meshtype.cpp @@ -428,7 +428,7 @@ namespace netgen case TRIG: pp = &eltriqp[0][0]; break; case QUAD: pp = &elquadqp[ip-1][0]; break; default: - PrintSysError ("Element2d::GetIntegrationPoint, illegal type ", typ); + PrintSysError ("Element2d::GetIntegrationPoint, illegal type ", int(typ)); } p.X() = pp[0]; @@ -483,7 +483,7 @@ namespace netgen case TRIG: dshapep = &ipdtrig.Get(ip)->dshape; break; case QUAD: dshapep = &ipdquad.Get(ip)->dshape; break; default: - PrintSysError ("Element2d::GetTransformation, illegal type ", typ); + PrintSysError ("Element2d::GetTransformation, illegal type ", int(typ)); } CalcABt (pmat, *dshapep, trans); @@ -512,7 +512,7 @@ namespace netgen shape(3) = (1-p.X()) * p.Y(); break; default: - PrintSysError ("Element2d::GetShape, illegal type ", typ); + PrintSysError ("Element2d::GetShape, illegal type ", int(typ)); } } @@ -582,7 +582,7 @@ namespace netgen break; default: - PrintSysError ("Element2d::GetDShape, illegal type ", typ); + PrintSysError ("Element2d::GetDShape, illegal type ", int(typ)); } } diff --git a/libsrc/meshing/meshtype.hpp b/libsrc/meshing/meshtype.hpp index 56786569..d0072767 100644 --- a/libsrc/meshing/meshtype.hpp +++ b/libsrc/meshing/meshtype.hpp @@ -341,7 +341,7 @@ namespace netgen case QUAD6: np = 6; break; case QUAD8: np = 8; break; default: - PrintSysError ("Element2d::SetType, illegal type ", typ); + PrintSysError ("Element2d::SetType, illegal type ", int(typ)); } } /// diff --git a/libsrc/meshing/secondorder.cpp b/libsrc/meshing/secondorder.cpp index 8f419b01..5d3bd2f0 100644 --- a/libsrc/meshing/secondorder.cpp +++ b/libsrc/meshing/secondorder.cpp @@ -244,7 +244,7 @@ namespace netgen break; } default: - PrintSysError ("MakeSecondOrder, illegal vol type ", el.GetType()); + PrintSysError ("MakeSecondOrder, illegal vol type ", int(el.GetType())); }