Summary:ASTERISK-11142: [patch] Asterisk misses cast to char * on some execl calls
Reporter:Michiel van Baak (mvanbaak)Labels:
Date Opened:2008-01-02 17:33:17.000-0600Date Closed:2008-01-02 19:56:40.000-0600
Versions:Frequency of
Environment:Attachments:( 0) obsd_sentinel.diff
Description:app_ices.c, app_mp3.c and main/asterisk.c call execl. They include the NULL as last argument, but on OpenBSD you need to cast them to (char *) for it to compile
This patch adds those casts.
Comments:By: Caio Begotti (caio1982) 2008-01-02 18:29:14.000-0600

As per mvanbaak's request on IRC, this patch does not break my trunk installation running on OSX 10.4.11. Just tested the patch and it's fine, no breakage so far when building and loading the changed modules/code.

By: Digium Subversion (svnbot) 2008-01-02 19:56:40.000-0600

Repository: asterisk
Revision: 96147

U   trunk/apps/app_ices.c
U   trunk/apps/app_mp3.c
U   trunk/main/asterisk.c

r96147 | tilghman | 2008-01-02 19:56:39 -0600 (Wed, 02 Jan 2008) | 4 lines

Compatibility fix for OpenBSD
Report and fix by: mvanbaak
(Closes issue ASTERISK-11142)