From e10fe1cd767cf479837eecc1e1b26615d63ea5ac Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Tue, 17 Nov 2009 04:04:24 +0000 Subject: Removed some unnecessary casts, used C++-style casts over C-style casts, fixed a few warnings (one possibly fatal one). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864 --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/process.c') diff --git a/src/process.c b/src/process.c index b0a4bd728..861f44beb 100644 --- a/src/process.c +++ b/src/process.c @@ -262,7 +262,7 @@ int split_buf(char *buf, const char ***argv, int colon_special) } if (*buf == ':') { (*argv)[argc++] = buf + 1; - buf = (char *)""; // XXX: unsafe cast. + buf = const_cast(""); // XXX: unsafe cast. } else { s = strpbrk(buf, " "); if (s) { -- cgit