[xiph-commits] r9832 - icecast/trunk/icecast/src
msmith at svn.xiph.org
msmith at svn.xiph.org
Tue Aug 23 03:48:11 PDT 2005
Author: msmith
Date: 2005-08-23 03:48:09 -0700 (Tue, 23 Aug 2005)
New Revision: 9832
Modified:
icecast/trunk/icecast/src/source.c
Log:
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.
Modified: icecast/trunk/icecast/src/source.c
===================================================================
--- icecast/trunk/icecast/src/source.c 2005-08-23 00:32:58 UTC (rev 9831)
+++ icecast/trunk/icecast/src/source.c 2005-08-23 10:48:09 UTC (rev 9832)
@@ -1241,7 +1241,7 @@
break;
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));
exit(0);
default: /* parent */
More information about the commits
mailing list