diff --git a/source/src/command.cpp b/source/src/command.cpp index 93ef2a3d..3edb44d9 100644 --- a/source/src/command.cpp +++ b/source/src/command.cpp @@ -297,7 +297,7 @@ char *executeret(const char *p) // all evaluation hap p += strcspn(p, ";\n\0"); cont = *p++!=0; // more statements if this isn't the end of the string - char *c = w[0]; + const char *c = w[0]; if(!*c) continue; // empty statement DELETEA(retval); @@ -309,7 +309,7 @@ char *executeret(const char *p) // all evaluation hap case '=': DELETEA(w[1]); swap(w[0], w[1]); - c = (char *)"alias"; + c = "alias"; break; } }