Revision 75f759b8

View differences:

src/controlledconnection.cpp
151 151
    else if (words[0] == "TUNE") {
152 152
      if (words.size() != 5) 
153 153
	writeControl("ERROR TUNE WRONG NUMBER OF ARGS (Expected 4, got " +
154
		     ::toString(words.size() - 1) + ")\n");
154
		     ::toString((int)words.size() - 1) + ")\n");
155 155
      else {
156 156
	const std::string &type = words[1];
157 157
	std::string channel = unescapeWS(words[2]);
......
179 179
    else if (words[0] == "SCHEDULE") {
180 180
      if (words.size() != 10) 
181 181
	writeControl("ERROR SCHEDULE WRONG NUMBER OF ARGS (Expected 9, got " +
182
		     ::toString(words.size() - 1) + ")\n");
182
		     ::toString((int)words.size() - 1) + ")\n");
183 183
      else {
184 184
	std::string dateTime = words[1] + " " + words[2];
185 185

  
......
239 239
    else if (words[0] == "REMOVEJOB") {
240 240
      if (words.size() != 2) 
241 241
	writeControl("ERROR REMOVEJOB WRONG NUMBER OF ARGS (Expected 1, got " +
242
		     ::toString(words.size() - 1) + ")\n");
242
		     ::toString((int)words.size() - 1) + ")\n");
243 243
      else {
244 244
	int job = toInt(words[1]);
245 245
	if (!scheduler->remove(job) && !cm->removeJob(job))

Also available in: Unified diff