diff --git a/src/include/switch_bitpack.h b/src/include/switch_bitpack.h index 9042c6e94a..3784966a2e 100644 --- a/src/include/switch_bitpack.h +++ b/src/include/switch_bitpack.h @@ -63,8 +63,8 @@ static inline char *print_bits(switch_byte_t byte, char *x) \{ */ -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 diff --git a/src/include/switch_private.h.in b/src/include/switch_private.h.in index a61eded2a4..07dd146b40 100644 --- a/src/include/switch_private.h.in +++ b/src/include/switch_private.h.in @@ -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 diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 935a9213d8..7c729e8dd2 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -522,7 +522,7 @@ static switch_status_t conference_add_member(conference_obj_t *conference, confe 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); } } diff --git a/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c b/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c index 12f37e75ca..f026fe3ca3 100644 --- a/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c +++ b/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c @@ -62,10 +62,12 @@ static void etpan_destroy(JSContext *cx, JSObject *obj) { } +#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 diff --git a/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c b/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c index 0aedfb5f00..a3f7cbb9c5 100644 --- a/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c +++ b/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c @@ -77,7 +77,7 @@ static switch_xml_t xml_url_fetch(const char *section, 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))) {