diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-17 04:04:24 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-17 04:04:24 +0000 |
commit | e10fe1cd767cf479837eecc1e1b26615d63ea5ac (patch) | |
tree | d1fbb79219d5598cd2370eb54f8a75aa5b9f25ef /src/process.c | |
parent | 88330c07adc5bb3b085cf6ede1d30c0c48afcfb6 (diff) |
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
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
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<char *>(""); // XXX: unsafe cast. } else { s = strpbrk(buf, " "); if (s) { |