X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Fphantom.cpp;h=f9bb1dbf38db3f4172c658ac99c99809f5bfddb7;hb=ee3b6b957bf6786bd0b4c15ce67c22381a8301fc;hp=48123fabb0ce2b2b21e212c7e337358105a5f80f;hpb=1a050c98763fbbc0662731b0b76953acede6f5d7;p=ctsim.git diff --git a/libctsim/phantom.cpp b/libctsim/phantom.cpp index 48123fa..f9bb1db 100644 --- a/libctsim/phantom.cpp +++ b/libctsim/phantom.cpp @@ -611,7 +611,7 @@ PhantomElement::convertNameToType (const char* const typeName) const char* const PhantomElement::convertTypeToName (PhmElemType iType) { - static char* pszType = "Unknown"; + static const char* pszType = "Unknown"; if (iType == PELEM_RECTANGLE) pszType = "rectangle";