[Freeswitch-svn] [commit] r4641 - in freeswitch/trunk/src: include mod/applications/mod_conference mod/applications/mod_skel mod/endpoints/mod_opal mod/languages/mod_spidermonkey_etpan mod/xml_int/mod_xml_curl
Freeswitch SVN
mikej at freeswitch.org
Sun Mar 18 12:40:02 EDT 2007
Author: mikej
Date: Sun Mar 18 12:40:01 2007
New Revision: 4641
Modified:
freeswitch/trunk/src/include/switch_bitpack.h
freeswitch/trunk/src/include/switch_private.h.in
freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
freeswitch/trunk/src/mod/applications/mod_skel/ (props changed)
freeswitch/trunk/src/mod/endpoints/mod_opal/ (props changed)
freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c
freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c
Log:
fix some warnings
Modified: freeswitch/trunk/src/include/switch_bitpack.h
==============================================================================
--- freeswitch/trunk/src/include/switch_bitpack.h (original)
+++ freeswitch/trunk/src/include/switch_bitpack.h Sun Mar 18 12:40:01 2007
@@ -63,8 +63,8 @@
\{
*/
-static const int8_t SWITCH_BITPACKED_MASKS[] = {0, 1, 3, 7, 15, 31, 63, 127, 255};
-static const int8_t SWITCH_REVERSE_BITPACKED_MASKS[] = {255, 254, 252, 248, 240, 224, 192, 128};
+static const uint8_t SWITCH_BITPACKED_MASKS[] = {0, 1, 3, 7, 15, 31, 63, 127, 255};
+static const uint8_t SWITCH_REVERSE_BITPACKED_MASKS[] = {255, 254, 252, 248, 240, 224, 192, 128};
/*!
\brief Initialize a bitpack object
Modified: freeswitch/trunk/src/include/switch_private.h.in
==============================================================================
--- freeswitch/trunk/src/include/switch_private.h.in (original)
+++ freeswitch/trunk/src/include/switch_private.h.in Sun Mar 18 12:40:01 2007
@@ -7,6 +7,9 @@
*/
#undef HAVE_DIRENT_H
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
/* Define to 1 if you have the `gethostname' function. */
#undef HAVE_GETHOSTNAME
Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c Sun Mar 18 12:40:01 2007
@@ -522,7 +522,7 @@
if (conference->alone_sound) {
conference_play_file(conference, conference->alone_sound, CONF_DEFAULT_LEADIN, switch_core_session_get_channel(member->session), 0);
} else {
- snprintf(msg, sizeof(msg), "You are currently the only person in this conference.", conference->count);
+ snprintf(msg, sizeof(msg), "You are currently the only person in this conference.");
conference_member_say(member, msg, CONF_DEFAULT_LEADIN);
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c (original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c Sun Mar 18 12:40:01 2007
@@ -62,10 +62,12 @@
{
}
+#if 0
static JSBool etpan_my_method(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
return JS_FALSE;
}
+#endif
enum etpan_tinyid {
etpan_NAME
Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c (original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c Sun Mar 18 12:40:01 2007
@@ -77,7 +77,7 @@
return NULL;
}
- if (file_url = strstr(binding->url, "file:")) {
+ if ((file_url = strstr(binding->url, "file:"))) {
file_url += 5;
if (!(xml = switch_xml_parse_file(file_url))) {
More information about the Freeswitch-svn
mailing list