Commit 663bd804 authored by Michael Smith's avatar Michael Smith
Browse files

Some versions of gcc complain about the missing cast here; it's apparently

needed because some systems don't define NULL as a pointer (weird). Patch
from Moritz Grimm.

svn path=/icecast/trunk/icecast/; revision=9832
parent f522b542
......@@ -1241,7 +1241,7 @@ static void source_run_script (char *command, char *mountpoint)
case 0: /* child */
DEBUG1 ("Starting command %s", command);
execl (command, command, mountpoint, NULL);
execl (command, command, mountpoint, (char *)NULL);
ERROR2 ("Unable to run command %s (%s)", command, strerror (errno));
default: /* parent */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment