Commit 99e436bd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Missing const

parent 97cf515a
......@@ -134,7 +134,7 @@ void Config::SetReverse(bool d)
reverse=d;
}
void Config::SetType(char *s)
void Config::SetType(const char *s)
{
if(!strcasecmp(s,"slp"))
{
......
......@@ -41,7 +41,7 @@ class Config
void SetDotMode(bool);
bool GetDotMode(void);
void SetFile(char*);
void SetType(char*);
void SetType(const char*);
int GetType();
const char *GetInterface();
vector<Program*> Programs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment