X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Fphantom.cpp;h=ba4b0e43561de92191e50a6bf9f981cffdf41063;hb=54a69fef0365495cf79f57b02040cc79b5924b2d;hp=48123fabb0ce2b2b21e212c7e337358105a5f80f;hpb=1a050c98763fbbc0662731b0b76953acede6f5d7;p=ctsim.git diff --git a/libctsim/phantom.cpp b/libctsim/phantom.cpp index 48123fa..ba4b0e4 100644 --- a/libctsim/phantom.cpp +++ b/libctsim/phantom.cpp @@ -7,9 +7,7 @@ ** Date Started: Aug 1984 ** ** This is part of the CTSim program -** Copyright (c) 1983-2001 Kevin Rosenberg -** -** $Id$ +** Copyright (c) 1983-2009 Kevin Rosenberg ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -611,7 +609,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";