Fix C++ warnings, better cleaning in makefiles
[ctsim.git] / libctgraphics / pol.cpp
index f433e5fd10b6ddcefc8c787dea46cd2a634bd5e8..78202f5714cf05f41fb1998b8910a922e443562a 100644 (file)
@@ -135,7 +135,7 @@ POL::addKeyword (const char* const str, int code)
 */
 
 bool
-POL::readWord (char *search, int nlet)
+POL::readWord (const char *search, int nlet)
 {
   tok (&token);
   if (m_bTrace)
@@ -821,7 +821,7 @@ POL::type (int c)
 */
 
 void
-POL::usefile (int source, char *fn)
+POL::usefile (int source, const char *fn)
 {
   FILE *fp;