summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-04 15:30:30 +0200
committerMichael Adam <obnox@samba.org>2009-08-04 23:47:28 +0200
commit23b09947c6b7d0cf0e05df573fc1658d6d0467c1 (patch)
treeb3c048def8e8f6172c430df29435a19c39f86520 /src
parent35abbbc26d29982d63170ac27159a60f490584ff (diff)
downloadtinyproxy-23b09947c6b7d0cf0e05df573fc1658d6d0467c1.tar.gz
tinyproxy-23b09947c6b7d0cf0e05df573fc1658d6d0467c1.zip
conffile: add explicit cast in get_string_arg().
Michael
Diffstat (limited to 'src')
-rw-r--r--src/conffile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conffile.c b/src/conffile.c
index dca63e2..bba48a6 100644
--- a/src/conffile.c
+++ b/src/conffile.c
@@ -323,7 +323,7 @@ get_string_arg (const char *line, regmatch_t * match)
assert (line);
assert (len > 0);
- p = safemalloc (len + 1);
+ p = (char *)safemalloc (len + 1);
if (!p)
return NULL;