[asterisk-commits] rmudgett: trunk r196188 - /trunk/apps/app_mp3.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 22 10:07:51 CDT 2009
Author: rmudgett
Date: Fri May 22 10:07:48 2009
New Revision: 196188
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196188
Log:
Fix constify the world compile problem.
Modified:
trunk/apps/app_mp3.c
Modified: trunk/apps/app_mp3.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/apps/app_mp3.c?view=diff&rev=196188&r1=196187&r2=196188
==============================================================================
--- trunk/apps/app_mp3.c (original)
+++ trunk/apps/app_mp3.c Fri May 22 10:07:48 2009
@@ -64,7 +64,7 @@
***/
static char *app = "MP3Player";
-static int mp3play(char *filename, int fd)
+static int mp3play(const char *filename, int fd)
{
int res;
@@ -152,8 +152,8 @@
return -1;
}
- res = mp3play((char *)data, fds[1]);
- if (!strncasecmp((char *)data, "http://", 7)) {
+ res = mp3play(data, fds[1]);
+ if (!strncasecmp(data, "http://", 7)) {
timeout = 10000;
}
/* Wait 1000 ms first */
More information about the asterisk-commits
mailing list