diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 15:30:30 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:28 +0200 |
commit | 23b09947c6b7d0cf0e05df573fc1658d6d0467c1 (patch) | |
tree | b3c048def8e8f6172c430df29435a19c39f86520 /src | |
parent | 35abbbc26d29982d63170ac27159a60f490584ff (diff) |
conffile: add explicit cast in get_string_arg().
Michael
Diffstat (limited to 'src')
-rw-r--r-- | src/conffile.c | 2 |
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; |