summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 13:30:24 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 13:30:24 +0000
commite7a15723172f46d1f0b192fc959c7a649830173d (patch)
tree06039c43ad3d47dc7355389caa15dfefbd2e55c9 /src/process.c
parent1fd0249076b85eef80a41a30b57cc47bc2a2ded2 (diff)
Clean up a few warnings.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1974 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 638f1d683..0590513e8 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 = "";
+ buf = (char *)""; // XXX: unsafe cast.
} else {
s = strpbrk(buf, " ");
if (s) {