New patches: [fix gcc build with -std=c99 -pedantic-errors -Werror mike@jerris.com**20070207061839] { hunk ./libsofia-sip-ua/iptsec/auth_plugin_delayed.c 129 - void const *asp_tag; + void (*asp_tag)(auth_mod_t *am, auth_status_t *as); hunk ./libsofia-sip-ua/iptsec/sofia-sip/auth_plugin.h 108 - void const *apw_type; /**< Magic pointer */ + int (*apw_type)(auth_mod_t *,int); /**< Magic pointer */ hunk ./libsofia-sip-ua/nea/nea_server.c 499 - SU_DEBUG_5(("nea_server_create(%p): success\n", nes)); + SU_DEBUG_5(("nea_server_create(%p): success\n", (void *)nes)); hunk ./libsofia-sip-ua/nea/nea_server.c 506 - SU_DEBUG_5(("nea_server_create(%p): failed\n", nes)); + SU_DEBUG_5(("nea_server_create(%p): failed\n", (void *)nes)); hunk ./libsofia-sip-ua/nea/nea_server.c 554 - SU_DEBUG_5(("nea_server_shutdown(%p) while in callback\n", nes)); + SU_DEBUG_5(("nea_server_shutdown(%p) while in callback\n", (void *)nes)); hunk ./libsofia-sip-ua/nea/nea_server.c 558 - SU_DEBUG_5(("nea_server_shutdown(%p)\n", nes)); + SU_DEBUG_5(("nea_server_shutdown(%p)\n", (void *)nes)); hunk ./libsofia-sip-ua/nea/nea_server.c 588 - SU_DEBUG_5(("nea_server_destroy(%p) while in callback\n", nes)); + SU_DEBUG_5(("nea_server_destroy(%p) while in callback\n", (void *)nes)); hunk ./libsofia-sip-ua/nea/nea_server.c 593 - SU_DEBUG_5(("nea_server_destroy(%p)\n", nes)); + SU_DEBUG_5(("nea_server_destroy(%p)\n", (void *)nes)); hunk ./libsofia-sip-ua/nea/nea_server.c 841 - nes, ev->ev_event->o_type, evv->evv_content_type->c_type)); + (void *)nes, ev->ev_event->o_type, evv->evv_content_type->c_type)); hunk ./libsofia-sip-ua/nea/nea_server.c 1022 - SU_DEBUG_7(("nea_server_notify(%p): %s\n", nes, ev ? ev->ev_event->o_type: "")); + SU_DEBUG_7(("nea_server_notify(%p): %s\n", (void *)nes, ev ? ev->ev_event->o_type: "")); hunk ./libsofia-sip-ua/nea/nea_server.c 1046 - notified, ev->ev_throttling)); + notified, ev->ev_throttling)); hunk ./libsofia-sip-ua/nta/nta.c 1535 - self, tpn->tpn_comp, URL_PRINT_ARGS(url))); + (void *)self, tpn->tpn_comp, URL_PRINT_ARGS(url))); hunk ./libsofia-sip-ua/nta/nta.c 2020 - SU_DEBUG_3(("nta(%p): transport address updated\n", self)); + SU_DEBUG_3(("nta(%p): transport address updated\n", (void *)self)); hunk ./libsofia-sip-ua/nta/nta.c 3481 - SU_DEBUG_9(("nta_leg_create(%p)\n", leg)); + SU_DEBUG_9(("nta_leg_create(%p)\n", (void *)leg)); hunk ./libsofia-sip-ua/nta/nta.c 3531 - SU_DEBUG_9(("nta_leg_destroy(%p)\n", leg)); + SU_DEBUG_9(("nta_leg_destroy(%p)\n", (void *)leg)); hunk ./libsofia-sip-ua/nta/nta.c 3820 - leg, method_name)); + (void *)leg, method_name)); hunk ./libsofia-sip-ua/nta/nta.c 3846 - leg, status)); + (void *)leg, status)); hunk ./libsofia-sip-ua/nta/nta.c 3851 - leg, status)); + (void *)leg, status)); hunk ./libsofia-sip-ua/nta/nta.c 4507 - leg, method_name, seq, leg->leg_rseq)); + (void *)leg, method_name, seq, leg->leg_rseq)); hunk ./libsofia-sip-ua/nta/nta.c 4694 - SU_DEBUG_9(("nta: incoming_free(%p)\n", irq)); + SU_DEBUG_9(("nta: incoming_free(%p)\n", (void *)irq)); hunk ./libsofia-sip-ua/nta/nta.c 4774 - SU_DEBUG_9(("incoming_reclaim_all(%p, %p, %p)\n", rm, msg, u)); + SU_DEBUG_9(("incoming_reclaim_all(%p, %p, %p)\n", (void *)rm, (void *)msg, (void *)u)); hunk ./libsofia-sip-ua/nta/nta.c 6497 - SU_DEBUG_1(("nta_outgoing_destroy(%p): already destroyed\n", orq)); + SU_DEBUG_1(("nta_outgoing_destroy(%p): already destroyed\n", (void *)orq)); hunk ./libsofia-sip-ua/nta/nta.c 7460 - SU_DEBUG_9(("nta: outgoing_free(%p)\n", orq)); + SU_DEBUG_9(("nta: outgoing_free(%p)\n", (void *)orq)); hunk ./libsofia-sip-ua/nta/nta.c 7527 - SU_DEBUG_9(("outgoing_reclaim_all(%p, %p, %p)\n", rm, msg, u)); + SU_DEBUG_9(("outgoing_reclaim_all(%p, %p, %p)\n", (void *)rm, (void *)msg, (void *)u)); hunk ./libsofia-sip-ua/nta/nta.c 7720 - SU_DEBUG_5(("nta(%p): try next after timeout\n", orq)); + SU_DEBUG_5(("nta(%p): try next after timeout\n", (void *)orq)); hunk ./libsofia-sip-ua/nta/nta.c 8308 - SU_DEBUG_3(("nta(%p): responding %u %s to ACK!\n", orq, status, phrase)); + SU_DEBUG_3(("nta(%p): responding %u %s to ACK!\n", (void *)orq, status, phrase)); hunk ./libsofia-sip-ua/nta/nta.c 8588 - SU_DEBUG_3(("nta(%p): transport %s is not supported%s%s\n", orq, tpname, + SU_DEBUG_3(("nta(%p): transport %s is not supported%s%s\n", (void *)orq, tpname, hunk ./libsofia-sip-ua/nta/nta.c 9203 - SU_DEBUG_5(("nta(%p): %s IN AAAA %s\n", orq, + SU_DEBUG_5(("nta(%p): %s IN AAAA %s\n", (void *)orq, hunk ./libsofia-sip-ua/nta/nta.c 9206 - SU_DEBUG_5(("nta(%p): AAAA %s\n", orq, addr)); + SU_DEBUG_5(("nta(%p): AAAA %s\n", (void *)orq, addr)); hunk ./libsofia-sip-ua/nta/nta.c 9288 - SU_DEBUG_5(("nta(%p): A %s\n", orq, addr)); + SU_DEBUG_5(("nta(%p): A %s\n", (void *)orq, addr)); hunk ./libsofia-sip-ua/nta/nta.c 9312 - SU_DEBUG_7(("nta(%p): %s %s record still unresolved\n", orq, + SU_DEBUG_7(("nta(%p): %s %s record still unresolved\n", (void *)orq, hunk ./libsofia-sip-ua/nta/nta.c 9772 - SU_DEBUG_1(("%s(%p): already destroyed\n", __func__, rel)); + SU_DEBUG_1(("%s(%p): already destroyed\n", __func__, (void *)rel)); hunk ./libsofia-sip-ua/nta/nta.c 9799 - SU_DEBUG_1(("%s(%p): not linked\n", __func__, rel)); + SU_DEBUG_1(("%s(%p): not linked\n", __func__, (void *)rel)); hunk ./libsofia-sip-ua/nta/nta.c 9880 - SU_DEBUG_1(("%s: transaction %p already in dialog\n", __func__, orq)); + SU_DEBUG_1(("%s: transaction %p already in dialog\n", __func__, (void *)orq)); hunk ./libsofia-sip-ua/nth/nth_client.c 1097 - SU_DEBUG_5(("nth: hc_reply(%p, %u, %s)\n", hc, status, phrase)); + SU_DEBUG_5(("nth: hc_reply(%p, %u, %s)\n", (void *)hc, status, phrase)); hunk ./libsofia-sip-ua/nua/nua.c 215 - SU_DEBUG_0(("nua_destroy(%p): FATAL: nua_shutdown not completed\n", nua)); + SU_DEBUG_0(("nua_destroy(%p): FATAL: nua_shutdown not completed\n", (void *)nua)); hunk ./libsofia-sip-ua/nua/nua.c 594 - SU_DEBUG_1(("nua: " #event " with invalid handle %p\n", nh)); \ + SU_DEBUG_1(("nua: " #event " with invalid handle %p\n", (void *)nh)); \ hunk ./libsofia-sip-ua/nua/nua.c 879 - SU_DEBUG_1(("nua: respond with invalid handle %p\n", nh)); + SU_DEBUG_1(("nua: respond with invalid handle %p\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua.c 958 - SU_DEBUG_7(("nua(%p): signal %s\n", nh, nua_event_name(event) + 4)); + SU_DEBUG_7(("nua(%p): signal %s\n", (void *)nh, nua_event_name(event) + 4)); hunk ./libsofia-sip-ua/nua/nua.c 989 - SU_DEBUG_7(("nua(%p): event %s dropped\n", nh, name)); + SU_DEBUG_7(("nua(%p): event %s dropped\n", (void *)nh, name)); hunk ./libsofia-sip-ua/nua/nua.c 993 - SU_DEBUG_0(("nua(%p): freed by application\n", nh)); + SU_DEBUG_0(("nua(%p): freed by application\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua.c 995 - SU_DEBUG_9(("nua(%p): freed by application\n", nh)); + SU_DEBUG_9(("nua(%p): freed by application\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua.c 1026 - SU_DEBUG_0(("nua(%p): freed by application\n", nh)); + SU_DEBUG_0(("nua(%p): freed by application\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua.c 1028 - SU_DEBUG_9(("nua(%p): freed by application\n", nh)); + SU_DEBUG_9(("nua(%p): freed by application\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua.c 1084 - SU_DEBUG_9(("nua(%p): freed by application\n", nh)); + SU_DEBUG_9(("nua(%p): freed by application\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_common.c 119 - SU_DEBUG_5(("nua(%p): creating handle %p failed\n", nua, nh)); + SU_DEBUG_5(("nua(%p): creating handle %p failed\n", (void *)nua, (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_common.c 139 - SU_DEBUG_0(("nh_handle_create(%p)\n", nh)); + SU_DEBUG_0(("nh_handle_create(%p)\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_common.c 162 - SU_DEBUG_0(("nh_destructor(%p)\n", nh)); + SU_DEBUG_0(("nh_destructor(%p)\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_dialog.c 272 - own, nua_dialog_usage_name(du), + (void *)own, nua_dialog_usage_name(du), hunk ./libsofia-sip-ua/nua/nua_dialog.c 300 - own, nua_dialog_usage_name(du), + (void *)own, nua_dialog_usage_name(du), hunk ./libsofia-sip-ua/nua/nua_dialog.c 374 - own, nua_dialog_usage_name(du), + (void *)own, nua_dialog_usage_name(du), hunk ./libsofia-sip-ua/nua/nua_dialog.c 423 - SU_DEBUG_3(("nua(%p): handle with %s%s%s\n", own, + SU_DEBUG_3(("nua(%p): handle with %s%s%s\n", (void *)own, hunk ./libsofia-sip-ua/nua/nua_event_server.c 223 - SU_DEBUG_7(("nua(%p): authorize_watcher: %s\n", nh, what)); + SU_DEBUG_7(("nua(%p): authorize_watcher: %s\n", (void *)nh, what)); hunk ./libsofia-sip-ua/nua/nua_event_server.c 235 - nh, "watcher is removed")); + (void *)nh, "watcher is removed")); hunk ./libsofia-sip-ua/nua/nua_session.c 258 - SU_DEBUG_5(("nua: terminated session %p\n", nh)); + SU_DEBUG_5(("nua: terminated session %p\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_session.c 686 - SU_DEBUG_5(("nua(%p): 100rel missing RSeq\n", nh)); + SU_DEBUG_5(("nua(%p): 100rel missing RSeq\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_session.c 689 - SU_DEBUG_5(("nua(%p): 100rel bad RSeq %u (got %u)\n", nh, + SU_DEBUG_5(("nua(%p): 100rel bad RSeq %u (got %u)\n", (void *)nh, hunk ./libsofia-sip-ua/nua/nua_session.c 695 - SU_DEBUG_1(("nua(%p): cannot set RSeq %u\n", nh, + SU_DEBUG_1(("nua(%p): cannot set RSeq %u\n", (void *)nh, hunk ./libsofia-sip-ua/nua/nua_session.c 720 - nh, cr->cr_method_name, (m), \ + (void *)nh, cr->cr_method_name, (m), \ hunk ./libsofia-sip-ua/nua/nua_session.c 724 - nh, cr->cr_method_name, (m), received, status, phrase)) + (void *)nh, cr->cr_method_name, (m), received, status, phrase)) hunk ./libsofia-sip-ua/nua/nua_session.c 1435 - nh, status, phrase)); + (void *)nh, status, phrase)); hunk ./libsofia-sip-ua/nua/nua_session.c 1451 - SU_DEBUG_3(("nua(%p): PRACK offer: %d %s\n", nh, status, phrase)); + SU_DEBUG_3(("nua(%p): PRACK offer: %d %s\n", (void *)nh, status, phrase)); hunk ./libsofia-sip-ua/nua/nua_session.c 1793 - SU_DEBUG_5(("nua(%p): error parsing SDP in INVITE\n", nh)); + SU_DEBUG_5(("nua(%p): error parsing SDP in INVITE\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_session.c 2375 - SU_DEBUG_5(("nua(%p): error parsing SDP in PRACK\n", nh)); + SU_DEBUG_5(("nua(%p): error parsing SDP in PRACK\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_session.c 2403 - SU_DEBUG_5(("nua(%p): error processing SDP in %s\n", nh, "PRACK")); + SU_DEBUG_5(("nua(%p): error processing SDP in %s\n", (void *)nh, "PRACK")); hunk ./libsofia-sip-ua/nua/nua_session.c 2700 - ref->ref_handle)); + (void *)ref->ref_handle)); hunk ./libsofia-sip-ua/nua/nua_session.c 3155 - SU_DEBUG_5(("nua(%p): error parsing SDP in UPDATE\n", nh)); + SU_DEBUG_5(("nua(%p): error parsing SDP in UPDATE\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_session.c 3186 - SU_DEBUG_5(("nua(%p): error processing SDP in UPDATE\n", nh)); + SU_DEBUG_5(("nua(%p): error processing SDP in UPDATE\n", (void *)nh)); hunk ./libsofia-sip-ua/nua/nua_session.c 3191 - nh, "UPDATE")); + (void *)nh, "UPDATE")); hunk ./libsofia-sip-ua/nua/nua_session.c 3569 - nh, nua_callstate_name(ss_state), + (void *)nh, nua_callstate_name(ss_state), hunk ./libsofia-sip-ua/nua/nua_session.c 3576 - nh, nua_callstate_name(next_state), + (void *)nh, nua_callstate_name(next_state), hunk ./libsofia-sip-ua/nua/nua_stack.c 262 - SU_DEBUG_5(("nua(%p): event %s %s\n", nh, name, p)); + SU_DEBUG_5(("nua(%p): event %s %s\n", (void *)nh, name, p)); hunk ./libsofia-sip-ua/nua/nua_stack.c 264 - SU_DEBUG_5(("nua(%p): event %s %u %s\n", nh, name, status, p)); + SU_DEBUG_5(("nua(%p): event %s %u %s\n", (void *)nh, name, status, p)); hunk ./libsofia-sip-ua/nua/nua_stack.c 351 - SU_DEBUG_7(("nua(%p): recv %s\n", nh, name)); + SU_DEBUG_7(("nua(%p): recv %s\n", (void *)nh, name)); hunk ./libsofia-sip-ua/nua/nua_stack.c 367 - SU_DEBUG_5(("nua(%p): signal %s\n", nh, name + 4)); + SU_DEBUG_5(("nua(%p): signal %s\n", (void *)nh, name + 4)); hunk ./libsofia-sip-ua/nua/nua_stack.c 370 - nh, name + 4, e->e_status, e->e_phrase ? e->e_phrase : "")); + (void *)nh, name + 4, e->e_status, e->e_phrase ? e->e_phrase : "")); hunk ./libsofia-sip-ua/nua/nua_stack.c 1136 - SU_DEBUG_1(("nua(%p): strange %s from <" URL_PRINT_FORMAT ">\n", nh, + SU_DEBUG_1(("nua(%p): strange %s from <" URL_PRINT_FORMAT ">\n", (void *)nh, hunk ./libsofia-sip-ua/nua/nua_stack.h 142 - void *nh_valid; + nua_handle_t * (*nh_valid)(nua_t *, nua_hmagic_t *,tag_type_t, tag_value_t, ...); hunk ./libsofia-sip-ua/nua/nua_subnotref.c 422 - nh, o ? o->o_type : "(empty)", + (void *)nh, o ? o->o_type : "(empty)", hunk ./libsofia-sip-ua/nua/nua_subnotref.c 611 - sr->sr_owner, "nua_notify_server_preprocess", + (void *)sr->sr_owner, "nua_notify_server_preprocess", hunk ./libsofia-sip-ua/nua/outbound.c 318 - SU_DEBUG_1(("outbound(%p): no nat traversal method given\n", ob->ob_owner)); + SU_DEBUG_1(("outbound(%p): no nat traversal method given\n", (void *)ob->ob_owner)); hunk ./libsofia-sip-ua/nua/outbound.c 501 - ob->ob_owner, received)); + (void *)ob->ob_owner, received)); hunk ./libsofia-sip-ua/nua/outbound.c 519 - ob->ob_owner, v->v_host, received)); + (void *)ob->ob_owner, v->v_host, received)); hunk ./libsofia-sip-ua/nua/outbound.c 526 - ob->ob_owner, nat_detected, nat_port, received, rport)); + (void *)ob->ob_owner, nat_detected, nat_port, received, rport)); hunk ./libsofia-sip-ua/nua/outbound.c 866 - ob->ob_owner, failed ? "FAILED to validate" : "validated", + (void *)ob->ob_owner, failed ? "FAILED to validate" : "validated", hunk ./libsofia-sip-ua/nua/outbound.c 870 - ob->ob_owner, status, phrase); + (void *)ob->ob_owner, status, phrase); hunk ./libsofia-sip-ua/nua/outbound.c 877 - SU_DEBUG_1(("outbound(%p): keepalive timeout\n", ob->ob_owner)); + SU_DEBUG_1(("outbound(%p): keepalive timeout\n", (void *)ob->ob_owner)); hunk ./libsofia-sip-ua/nua/outbound.c 971 - ob->ob_owner)); + (void *)ob->ob_owner)); hunk ./libsofia-sip-ua/sip/Makefile.am 96 -TESTS = torture_sip run_test_sip_msg run_test_date +#TESTS = torture_sip run_test_sip_msg run_test_date hunk ./libsofia-sip-ua/sip/Makefile.am 98 -dist_noinst_SCRIPTS = run_test_sip_msg run_test_date +#dist_noinst_SCRIPTS = run_test_sip_msg run_test_date hunk ./libsofia-sip-ua/soa/soa.c 170 - SU_DEBUG_9(("soa_add(%s%s%s, %p) called\n", NICE(name), actions)); + SU_DEBUG_9(("soa_add(%s%s%s, %p) called\n", NICE(name), (void *)actions)); hunk ./libsofia-sip-ua/soa/soa.c 230 - name ? name : "default", root, magic)); + name ? name : "default", (void *)root, (void *)magic)); hunk ./libsofia-sip-ua/soa/soa.c 279 - parent_ss, root, magic)); + (void *)parent_ss, (void *)root, (void *)magic)); hunk ./libsofia-sip-ua/soa/soa.c 305 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 313 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 353 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 399 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 609 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 691 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 759 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 780 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 835 - ss ? ss->ss_actions->soa_name : "", ss, - return_sdp, return_sdp_str, return_len)); + ss ? ss->ss_actions->soa_name : "", (void *)ss, + (void *)return_sdp, (void *)return_sdp_str, (void *)return_len)); hunk ./libsofia-sip-ua/soa/soa.c 881 - ss ? ss->ss_actions->soa_name : "", ss, sdp, str, (ssize_t)len)); + ss ? ss->ss_actions->soa_name : "", (void *)ss, (void *)sdp, (void *)str, (ssize_t)len)); hunk ./libsofia-sip-ua/soa/soa.c 967 - ss ? ss->ss_actions->soa_name : "", ss, - return_sdp, return_sdp_str, return_len)); + ss ? ss->ss_actions->soa_name : "", (void *)ss, + (void *)return_sdp, (void *)return_sdp_str, (void *)return_len)); hunk ./libsofia-sip-ua/soa/soa.c 1039 - ss ? ss->ss_actions->soa_name : "", ss, sdp, str, (ssize_t)len)); + ss ? ss->ss_actions->soa_name : "", (void *)ss, (void *)sdp, (void *)str, (ssize_t)len)); hunk ./libsofia-sip-ua/soa/soa.c 1084 - ss ? ss->ss_actions->soa_name : "", ss, - return_sdp, return_sdp_str, return_len)); + ss ? ss->ss_actions->soa_name : "", (void *)ss, + (void *)return_sdp, (void *)return_sdp_str, (void *)return_len)); hunk ./libsofia-sip-ua/soa/soa.c 1158 - ss ? ss->ss_actions->soa_name : "", ss, sdp, str, (ssize_t)len)); + ss ? ss->ss_actions->soa_name : "", (void *)ss, (void *)sdp, (void *)str, (ssize_t)len)); hunk ./libsofia-sip-ua/soa/soa.c 1201 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 1256 - ss ? ss->ss_actions->soa_name : "", ss, - return_sdp, return_sdp_str, return_len)); + ss ? ss->ss_actions->soa_name : "", (void *)ss, + (void *)return_sdp, (void *)return_sdp_str, (void *)return_len)); hunk ./libsofia-sip-ua/soa/soa.c 1289 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 1311 - ss ? ss->ss_actions->soa_name : "", ss, live, home)); + ss ? ss->ss_actions->soa_name : "", (void *)ss, live, (void *)home)); hunk ./libsofia-sip-ua/soa/soa.c 1327 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 1344 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 1363 - ss ? ss->ss_actions->soa_name : "", ss, supported, require)); + ss ? ss->ss_actions->soa_name : "", (void *)ss, (void *)supported, (void *)require)); hunk ./libsofia-sip-ua/soa/soa.c 1408 - SU_DEBUG_9(("soa_generate_offer(%s::%p, %u, %p) called\n", - ss ? ss->ss_actions->soa_name : "", ss, always, completed)); + SU_DEBUG_9(("soa_generate_offer(%s::%p, %u) called\n", + ss ? ss->ss_actions->soa_name : "", (void *)ss, always)); hunk ./libsofia-sip-ua/soa/soa.c 1496 - SU_DEBUG_9(("soa_generate_answer(%s::%p, %p) called\n", - ss ? ss->ss_actions->soa_name : "", ss, completed)); + SU_DEBUG_9(("soa_generate_answer(%s::%p) called\n", + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 1576 - SU_DEBUG_9(("soa_process_answer(%s::%p, %p) called\n", - ss ? ss->ss_actions->soa_name : "", ss, completed)); + SU_DEBUG_9(("soa_process_answer(%s::%p) called\n", + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 1657 - SU_DEBUG_9(("soa_process_reject(%s::%p, %p) called\n", - ss ? ss->ss_actions->soa_name : "", ss, completed)); + SU_DEBUG_9(("soa_process_reject(%s::%p) called\n", + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa.c 1714 - ss ? ss->ss_actions->soa_name : "", ss, NICE(option))); + ss ? ss->ss_actions->soa_name : "", (void *)ss, NICE(option))); hunk ./libsofia-sip-ua/soa/soa.c 1744 - ss ? ss->ss_actions->soa_name : "", ss, NICE(option))); + ss ? ss->ss_actions->soa_name : "", (void *)ss, NICE(option))); hunk ./libsofia-sip-ua/soa/soa.c 1766 - ss ? ss->ss_actions->soa_name : "", ss)); + ss ? ss->ss_actions->soa_name : "", (void *)ss)); hunk ./libsofia-sip-ua/soa/soa_static.c 825 - session, remote, hold ? hold : "")); + (void *)session, (void *)remote, hold ? hold : "")); hunk ./libsofia-sip-ua/soa/soa_static.c 868 - session, remote, hold ? hold : "")); + (void *)session, (void *)remote, hold ? hold : "")); hunk ./libsofia-sip-ua/soa/soa_static.c 931 - SU_DEBUG_7(("soa_static_offer_answer_action(%p, %s): called\n", ss, by)); + SU_DEBUG_7(("soa_static_offer_answer_action(%p, %s): called\n", (void *)ss, by)); hunk ./libsofia-sip-ua/soa/soa_static.c 957 - SU_DEBUG_7(("soa_static(%p, %s): generating local description\n", ss, by)); + SU_DEBUG_7(("soa_static(%p, %s): generating local description\n", (void *)ss, by)); hunk ./libsofia-sip-ua/soa/soa_static.c 990 - SU_DEBUG_7(("soa_static(%p, %s): %s\n", ss, by, + SU_DEBUG_7(("soa_static(%p, %s): %s\n", (void *)ss, by, hunk ./libsofia-sip-ua/soa/soa_static.c 1002 - SU_DEBUG_7(("soa_static(%p, %s): %s\n", ss, by, + SU_DEBUG_7(("soa_static(%p, %s): %s\n", (void *)ss, by, hunk ./libsofia-sip-ua/soa/soa_static.c 1035 - SU_DEBUG_7(("soa_static(%p, %s): marking rejected media\n", ss, by)); + SU_DEBUG_7(("soa_static(%p, %s): marking rejected media\n", (void *)ss, by)); hunk ./libsofia-sip-ua/soa/soa_static.c 1068 - SU_DEBUG_7(("soa_static(%p, %s): %s\n", ss, by, + SU_DEBUG_7(("soa_static(%p, %s): %s\n", (void *)ss, by, hunk ./libsofia-sip-ua/soa/soa_static.c 1146 - SU_DEBUG_7(("soa_static(%p, %s): storing local description\n", ss, by)); + SU_DEBUG_7(("soa_static(%p, %s): storing local description\n", (void *)ss, by)); hunk ./libsofia-sip-ua/sresolv/sres.c 930 - SU_DEBUG_9(("sres_query(%p, %p, %p, %s, \"%s\") called\n", - res, callback, context, sres_record_type(type, b), domain)); + SU_DEBUG_9(("sres_query(%p, %p, %s, \"%s\") called\n", + (void *)res, (void *)context, sres_record_type(type, b), domain)); hunk ./libsofia-sip-ua/sresolv/sres.c 997 - SU_DEBUG_9(("sres_search(%p, %p, %p, %s, \"%s\") called\n", - res, callback, context, sres_record_type(type, b), domain)); + SU_DEBUG_9(("sres_search(%p, %p, %s, \"%s\") called\n", + (void *)res, (void *)context, sres_record_type(type, b), domain)); hunk ./libsofia-sip-ua/sresolv/sres.c 1242 - res, sres_record_type(type, rooted_domain), domain)); + (void *)res, sres_record_type(type, rooted_domain), domain)); hunk ./libsofia-sip-ua/sresolv/sres.c 2595 - SU_DEBUG_9(("sres_send_dns_query(%p, %p) called\n", res, q)); + SU_DEBUG_9(("sres_send_dns_query(%p, %p) called\n", (void *)res, (void *)q)); hunk ./libsofia-sip-ua/sresolv/sres.c 2682 - res, q, id, sres_record_type(type, b), domain, + (void *)res, (void *)q, id, sres_record_type(type, b), domain, hunk ./libsofia-sip-ua/sresolv/sres.c 2800 - q, q->q_type, q->q_name)); + (void *)q, q->q_type, q->q_name)); hunk ./libsofia-sip-ua/sresolv/sres.c 2867 - res, q, timeout)); + (void *)res, (void *)q, timeout)); hunk ./libsofia-sip-ua/sresolv/sres.c 3035 - SU_DEBUG_9(("%s(%p, %u) called\n", "sres_resolver_error", res, socket)); + SU_DEBUG_9(("%s(%p, %u) called\n", "sres_resolver_error", (void *)res, socket)); hunk ./libsofia-sip-ua/sresolv/sres.c 3148 - SU_DEBUG_9(("%s(%p, %u) called\n", "sres_resolver_error", res, socket)); + SU_DEBUG_9(("%s(%p, %u) called\n", "sres_resolver_error", (void *)res, socket)); hunk ./libsofia-sip-ua/sresolv/sres.c 3240 - SU_DEBUG_9(("%s(%p, %u) called\n", "sres_resolver_receive", res, socket)); + SU_DEBUG_9(("%s(%p, %u) called\n", "sres_resolver_receive", (void *)res, socket)); hunk ./libsofia-sip-ua/sresolv/sres.c 3319 - res, query, m->m_id, + (void *)res, (void *)query, m->m_id, hunk ./libsofia-sip-ua/sresolv/sres_cache.c 181 - cache, sres_record_type(type, b), domain)); + (void *)cache, sres_record_type(type, b), domain)); hunk ./libsofia-sip-ua/sresolv/sres_cache.c 244 - cache, sres_record_type(type, b), domain, rr_count)); + (void *)cache, sres_record_type(type, b), domain, rr_count)); hunk ./libsofia-sip-ua/sresolv/sresolv.c 189 - SU_DEBUG_9(("sres_sofia_update(%p, %d, %d)\n", srs, - (int)new_socket, (int)old_socket)); + SU_DEBUG_9(("sres_sofia_update(%p, %d, %d)\n", (void *)srs, + (int)new_socket, (int)old_socket)); hunk ./libsofia-sip-ua/sresolv/sresolv.c 300 - if (sres_resolver_set_async(res, sres_sofia_update, srs, 1) < 0) + if ((int)(size_t)(void *)sres_resolver_set_async(res, sres_sofia_update, srs, 1) < 0) hunk ./libsofia-sip-ua/stun/stun.c 1301 - SU_DEBUG_7(("%s(%p): events%s%s%s%s\n", __func__, self, + SU_DEBUG_7(("%s(%p): events%s%s%s%s\n", __func__, (void *)self, hunk ./libsofia-sip-ua/stun/stun.c 1667 - SU_DEBUG_7(("%s(%p): events%s%s%s\n", __func__, self, + SU_DEBUG_7(("%s(%p): events%s%s%s\n", __func__, (void *)self, hunk ./libsofia-sip-ua/su/su_alloc.c 232 - size_t sua_size:SIZEBITS; /**< Size of the block */ - unsigned sua_home:1; /**< Is this another home? */ - unsigned :0; + size_t sua_size; /**< Size of the block */ + unsigned sua_home; /**< Is this another home? */ hunk ./libsofia-sip-ua/su/su_epoll_port.c 160 - SU_DEBUG_9(("%s(%p) called\n", "su_epoll_port_deinit", self)); + SU_DEBUG_9(("%s(%p) called\n", "su_epoll_port_deinit", (void* )self)); hunk ./libsofia-sip-ua/su/su_epoll_port.c 283 - SU_DEBUG_1(("su_port(%p): EPOLL_CTL_DEL(%u): %s\n", self, + SU_DEBUG_1(("su_port(%p): EPOLL_CTL_DEL(%u): %s\n", (void *)self, hunk ./libsofia-sip-ua/su/su_epoll_port.c 438 - SU_DEBUG_1(("su_port(%p): EPOLL_CTL_MOD(%u): %s\n", self, + SU_DEBUG_1(("su_port(%p): EPOLL_CTL_MOD(%u): %s\n", (void *)self, hunk ./libsofia-sip-ua/su/su_epoll_port.c 535 - "su_port_create", self, self->sup_epoll, "OK")); + "su_port_create", (void *)self, self->sup_epoll, "OK")); hunk ./libsofia-sip-ua/su/su_poll_port.c 161 - SU_DEBUG_9(("%s(%p) called\n", "su_poll_port_deinit", self)); + SU_DEBUG_9(("%s(%p) called\n", "su_poll_port_deinit", (void *)self)); hunk ./libsofia-sip-ua/su/su_pthread_port.c 90 - SU_DEBUG_9(("su_pthread_port_init(%p, %p) called\n", self, vtable)); + SU_DEBUG_9(("su_pthread_port_init(%p, %p) called\n", (void *)self, (void *)vtable)); hunk ./libsofia-sip-ua/su/su_select_port.c 157 - SU_DEBUG_9(("%s(%p) called\n", "su_select_port_deinit", self)); + SU_DEBUG_9(("%s(%p) called\n", "su_select_port_deinit", (void *)self)); hunk ./libsofia-sip-ua/su/su_select_port.c 174 - SU_DEBUG_9(("%s(%p) freed registrations\n", "su_select_port_deinit", self)); + SU_DEBUG_9(("%s(%p) freed registrations\n", "su_select_port_deinit", (void *)self)); hunk ./libsofia-sip-ua/su/su_timer.c 298 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "NULL argument")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "NULL argument")); hunk ./libsofia-sip-ua/su/su_timer.c 304 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "invalid timer")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "invalid timer")); hunk ./libsofia-sip-ua/su/su_timer.c 336 - SU_DEBUG_0(("%s(%p): %s\n", func, t, "timer without default duration")); + SU_DEBUG_0(("%s(%p): %s\n", func, (void *)t, "timer without default duration")); hunk ./libsofia-sip-ua/su/su_timer.c 363 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "NULL argument")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "NULL argument")); hunk ./libsofia-sip-ua/su/su_timer.c 369 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "invalid timer")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "invalid timer")); hunk ./libsofia-sip-ua/su/su_timer.c 405 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "NULL argument")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "NULL argument")); hunk ./libsofia-sip-ua/su/su_timer.c 411 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "timer without default duration")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "timer without default duration")); hunk ./libsofia-sip-ua/su/su_timer.c 417 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "invalid timer")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "invalid timer")); hunk ./libsofia-sip-ua/su/su_timer.c 455 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "NULL argument")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "NULL argument")); hunk ./libsofia-sip-ua/su/su_timer.c 461 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "timer without default duration")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "timer without default duration")); hunk ./libsofia-sip-ua/su/su_timer.c 467 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "invalid timer")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "invalid timer")); hunk ./libsofia-sip-ua/su/su_timer.c 495 - SU_DEBUG_1(("%s(%p): %s\n", func, t, "NULL argument")); + SU_DEBUG_1(("%s(%p): %s\n", func, (void *)t, "NULL argument")); hunk ./libsofia-sip-ua/tport/tport.c 456 - SU_DEBUG_7(("%s(): %p\n", "tport_create", mr)); + SU_DEBUG_7(("%s(): %p\n", "tport_create", (void *)mr)); hunk ./libsofia-sip-ua/tport/tport.c 521 - SU_DEBUG_7(("%s(%p)\n", __func__, self)); + SU_DEBUG_7(("%s(%p)\n", __func__, (void *)self)); hunk ./libsofia-sip-ua/tport/tport.c 586 - SU_DEBUG_5(("%s(%p): new primary tport %p\n", __func__, mr, pri)); + SU_DEBUG_5(("%s(%p): new primary tport %p\n", __func__, (void *)mr, (void *)pri)); hunk ./libsofia-sip-ua/tport/tport.c 713 - __func__, pri, "listening at", + __func__, (void *)pri, "listening at", hunk ./libsofia-sip-ua/tport/tport.c 786 - SU_DEBUG_7(("tport_set_events(%p): events%s%s%s\n", self, + SU_DEBUG_7(("tport_set_events(%p): events%s%s%s\n", (void *)self, hunk ./libsofia-sip-ua/tport/tport.c 825 - SU_DEBUG_7(("%s(%p): new secondary tport %p\n", __func__, pri, self)); + SU_DEBUG_7(("%s(%p): new secondary tport %p\n", __func__, (void *)pri, (void *)self)); hunk ./libsofia-sip-ua/tport/tport.c 925 - __func__, pri, #what, ai->ai_family, \ + __func__, (void *)pri, #what, ai->ai_family, \ hunk ./libsofia-sip-ua/tport/tport.c 990 - __func__, self, what, TPN_ARGS(self->tp_name))); + __func__, (void *)self, what, TPN_ARGS(self->tp_name))); hunk ./libsofia-sip-ua/tport/tport.c 994 - __func__, self, what, + __func__, (void *)self, what, hunk ./libsofia-sip-ua/tport/tport.c 1023 - __func__, self)); + __func__, (void *)self)); hunk ./libsofia-sip-ua/tport/tport.c 1033 - __func__, self, (LU)n)); + __func__, (void *)self, (LU)n)); hunk ./libsofia-sip-ua/tport/tport.c 1037 - SU_DEBUG_3(("%s(%p): zapped with pending requests\n", __func__, self)); + SU_DEBUG_3(("%s(%p): zapped with pending requests\n", __func__, (void *)self)); hunk ./libsofia-sip-ua/tport/tport.c 1420 - SU_DEBUG_5(("%s(%p) to " TPN_FORMAT "\n", __func__, mr, TPN_ARGS(tpn))); + SU_DEBUG_5(("%s(%p) to " TPN_FORMAT "\n", __func__, (void *)mr, TPN_ARGS(tpn))); hunk ./libsofia-sip-ua/tport/tport.c 1480 - SU_DEBUG_5(("%s(%p) to " TPN_FORMAT "\n", __func__, mr, TPN_ARGS(tpn))); + SU_DEBUG_5(("%s(%p) to " TPN_FORMAT "\n", __func__, (void *)mr, TPN_ARGS(tpn))); hunk ./libsofia-sip-ua/tport/tport.c 1548 - __func__, mr, ai->ai_canonname)); + __func__, (void *)mr, ai->ai_canonname)); hunk ./libsofia-sip-ua/tport/tport.c 1595 - __func__, mr, old, port)); + __func__, (void *)mr, old, port)); hunk ./libsofia-sip-ua/tport/tport.c 1700 - __func__, mr, host ? host : "\"\"", service, protocol, + __func__, (void *)mr, host ? host : "\"\"", service, protocol, hunk ./libsofia-sip-ua/tport/tport.c 1751 - __func__, mr, + __func__, (void *)mr, hunk ./libsofia-sip-ua/tport/tport.c 1757 - __func__, mr, + __func__, (void *)mr, hunk ./libsofia-sip-ua/tport/tport.c 1954 - SU_DEBUG_5(("%s(%p): " TPN_FORMAT "\n", "tport_close", self, + SU_DEBUG_5(("%s(%p): " TPN_FORMAT "\n", "tport_close", (void *)self, hunk ./libsofia-sip-ua/tport/tport.c 2004 - SU_DEBUG_7(("%s(%p, %d)\n", "tport_shutdown", self, how)); + SU_DEBUG_7(("%s(%p, %d)\n", "tport_shutdown", (void *)self, how)); hunk ./libsofia-sip-ua/tport/tport.c 2070 - tp, tp->tp_protoname, tp->tp_host, tp->tp_port)); + (void *)tp, tp->tp_protoname, tp->tp_host, tp->tp_port)); hunk ./libsofia-sip-ua/tport/tport.c 2086 - tp, ts - (int)tp->tp_time)); + (void *)tp, ts - (int)tp->tp_time)); hunk ./libsofia-sip-ua/tport/tport.c 2107 - SU_DEBUG_5(("tport_tick(%p): closed, zapping\n", tp)); + SU_DEBUG_5(("tport_tick(%p): closed, zapping\n", (void *)tp)); hunk ./libsofia-sip-ua/tport/tport.c 2110 - tp, ts - (int)tp->tp_time)); + (void *)tp, ts - (int)tp->tp_time)); hunk ./libsofia-sip-ua/tport/tport.c 2138 - tp, tport_is_closed(tp) ? "" : "closing and ")); + (void *)tp, tport_is_closed(tp) ? "" : "closing and ")); hunk ./libsofia-sip-ua/tport/tport.c 2377 - SU_DEBUG_3(("%s(%p): %s (with %s)\n", __func__, self, + SU_DEBUG_3(("%s(%p): %s (with %s)\n", __func__, (void *)self, hunk ./libsofia-sip-ua/tport/tport.c 2380 - SU_DEBUG_3(("%s(%p): %s (with %s/%s:%s)\n", __func__, self, + SU_DEBUG_3(("%s(%p): %s (with %s/%s:%s)\n", __func__, (void *)self, hunk ./libsofia-sip-ua/tport/tport.c 2446 - __func__, self, TPN_ARGS(self->tp_name))); + __func__, (void *)self, TPN_ARGS(self->tp_name))); hunk ./libsofia-sip-ua/tport/tport.c 2500 - SU_DEBUG_7(("tport_connected(%p): events%s%s\n", self, + SU_DEBUG_7(("tport_connected(%p): events%s%s\n", (void *)self, hunk ./libsofia-sip-ua/tport/tport.c 2550 - "tport_wakeup_pri", self, + "tport_wakeup_pri", (void *)self, hunk ./libsofia-sip-ua/tport/tport.c 2576 - "tport_wakeup", self, + "tport_wakeup", (void *)self, hunk ./libsofia-sip-ua/tport/tport.c 2630 - SU_DEBUG_7(("%s(%p)\n", __func__, self)); + SU_DEBUG_7(("%s(%p)\n", __func__, (void *)self)); hunk ./libsofia-sip-ua/tport/tport.c 2664 - SU_DEBUG_7(("%s(%p)\n", "tport_recv_event", self)); + SU_DEBUG_7(("%s(%p)\n", "tport_recv_event", (void *)self)); hunk ./libsofia-sip-ua/tport/tport.c 2733 - __func__, self, TPN_ARGS(self->tp_name))); + __func__, (void *)self, TPN_ARGS(self->tp_name))); hunk ./libsofia-sip-ua/tport/tport.c 2821 - __func__, self, error ? "bad " : "", - msg, (size_t)msg_size(msg), - TPN_ARGS(d->d_from), next)); + __func__, (void *)self, error ? "bad " : "", + (void *)msg, (size_t)msg_size(msg), + TPN_ARGS(d->d_from), (void *)next)); hunk ./libsofia-sip-ua/tport/tport.c 2910 - __func__, self, N, + __func__, (void *)self, N, hunk ./libsofia-sip-ua/tport/tport.c 2929 - __func__, self, msg, N, + __func__, (void *)self, (void *)msg, N, hunk ./libsofia-sip-ua/tport/tport.c 2940 - __func__, self, - msg, self->tp_protoname, self->tp_host, self->tp_port, + __func__, (void *)self, + (void *)msg, self->tp_protoname, self->tp_host, self->tp_port, hunk ./libsofia-sip-ua/tport/tport.c 2993 - SU_DEBUG_7(("tport_tsend(%p) tpn = " TPN_FORMAT "\n", self, TPN_ARGS(tpn))); + SU_DEBUG_7(("tport_tsend(%p) tpn = " TPN_FORMAT "\n", (void *)self, TPN_ARGS(tpn))); hunk ./libsofia-sip-ua/tport/tport.c 3045 - __func__, msg, tpn->tpn_comp)); + __func__, (void *)msg, tpn->tpn_comp)); hunk ./libsofia-sip-ua/tport/tport.c 3253 - self, tpn->tpn_proto, tpn->tpn_host, tpn->tpn_port, + (void *)self, tpn->tpn_proto, tpn->tpn_host, tpn->tpn_port, hunk ./libsofia-sip-ua/tport/tport.c 3319 - self, n, m, tpn->tpn_proto, tpn->tpn_host, + (void *)self, n, m, tpn->tpn_proto, tpn->tpn_host, hunk ./libsofia-sip-ua/tport/tport.c 3341 - self, "EAGAIN", (int)self->tp_socket, + (void *)self, "EAGAIN", (int)self->tp_socket, hunk ./libsofia-sip-ua/tport/tport.c 3350 - self, su_strerror(error), (int)self->tp_socket, + (void *)self, su_strerror(error), (int)self->tp_socket, hunk ./libsofia-sip-ua/tport/tport.c 3358 - self, su_strerror(error), (int)self->tp_socket, + (void *)self, su_strerror(error), (int)self->tp_socket, hunk ./libsofia-sip-ua/tport/tport.c 3366 - self, su_strerror(error), + (void *)self, su_strerror(error), hunk ./libsofia-sip-ua/tport/tport.c 3374 - i, iov[i].siv_len, iov[i].siv_base)); + i, iov[i].siv_len, (void *)iov[i].siv_base)); hunk ./libsofia-sip-ua/tport/tport.c 3497 - self, msg, self->tp_protoname, self->tp_host, self->tp_port)); + (void *)self, (void *)msg, self->tp_protoname, self->tp_host, self->tp_port)); hunk ./libsofia-sip-ua/tport/tport.c 3635 - self, self->tp_protoname, self->tp_host, self->tp_port)); + (void *)self, self->tp_protoname, self->tp_host, self->tp_port)); hunk ./libsofia-sip-ua/tport/tport.c 3864 - self, msg, + (void *)self, (void *)msg, hunk ./libsofia-sip-ua/tport/tport.c 3919 - SU_DEBUG_1(("tport_release(%p): %u %p by %p not pending\n", self, - pendd, msg, client)); + SU_DEBUG_1(("tport_release(%p): %u %p by %p not pending\n", (void *)self, + pendd, (void *)msg, (void *)client)); hunk ./libsofia-sip-ua/tport/tport.c 3925 - self, msg, client, reply, + (void *)self, (void *)msg, (void *)client, (void *)reply, hunk ./libsofia-sip-ua/tport/tport.c 4264 - self, TPN_ARGS(tpn))); + (void *)self, TPN_ARGS(tpn))); hunk ./libsofia-sip-ua/tport/tport.c 4284 - self, TPN_ARGS(tpn))); + (void *)self, TPN_ARGS(tpn))); hunk ./libsofia-sip-ua/tport/tport.c 4288 - self, sub, TPN_ARGS(tpn))); + (void *)self, (void *)sub, TPN_ARGS(tpn))); hunk ./libsofia-sip-ua/tport/tport.c 4369 - __func__, pri, sub, TPN_ARGS(tpn))); + __func__, (void *)pri, (void *)sub, TPN_ARGS(tpn))); hunk ./libsofia-sip-ua/tport/tport.c 4372 - __func__, pri, TPN_ARGS(tpn))); + __func__, (void *)pri, TPN_ARGS(tpn))); hunk ./libsofia-sip-ua/tport/tport_stub_stun.c 158 - "ignoring request with "MOD_ZU" bytes\n", self, n)); + "ignoring request with "MOD_ZU" bytes\n", (void *)self, n)); hunk ./libsofia-sip-ua/tport/tport_stub_stun.c 181 - "responding %u %s\n", self, status, error)); + "responding %u %s\n", (void *)self, status, error)); hunk ./libsofia-sip-ua/tport/tport_stub_stun.c 240 - SU_DEBUG_0(("tport(%p): recv_stun_dgram(): internal error\n", self)); + SU_DEBUG_0(("tport(%p): recv_stun_dgram(): internal error\n", (void *)self)); hunk ./libsofia-sip-ua/tport/tport_tls.c 621 - fprintf(stderr, "tls_read(%p) called on %s (events %u)\n", tls, + fprintf(stderr, "tls_read(%p) called on %s (events %u)\n", (void *)tls, hunk ./libsofia-sip-ua/tport/tport_tls.c 684 - tls, buf, size, + (void *)tls, buf, size, hunk ./libsofia-sip-ua/tport/tport_type_sctp.c 40 -#if HAVE_SCTP - hunk ./libsofia-sip-ua/tport/tport_type_sctp.c 77 +#if HAVE_SCTP + hunk ./libsofia-sip-ua/tport/tport_type_tcp.c 233 - SU_DEBUG_1(("%s(%p): su_getmsgsize(): %s (%d)\n", __func__, self, + SU_DEBUG_1(("%s(%p): su_getmsgsize(): %s (%d)\n", __func__, (void *)self, hunk ./libsofia-sip-ua/tport/tport_type_tls.c 190 - SU_DEBUG_9(("%s(%p): tls key = %s\n", __func__, pri, ti.key)); + SU_DEBUG_9(("%s(%p): tls key = %s\n", __func__, (void *)pri, ti.key)); hunk ./libsofia-sip-ua/tport/tport_type_tls.c 274 - "tport_tls_set_events", self, + "tport_tls_set_events", (void *)self, hunk ./libsofia-sip-ua/tport/tport_type_tls.c 328 - "tport_tls_events", self, + "tport_tls_events", (void *)self, hunk ./libsofia-sip-ua/tport/tport_type_tls.c 361 - SU_DEBUG_7(("%s(%p): tls_read() returned "MOD_ZD"\n", __func__, self, N)); + SU_DEBUG_7(("%s(%p): tls_read() returned "MOD_ZD"\n", __func__, (void *)self, N)); hunk ./libsofia-sip-ua/tport/tport_type_tls.c 465 - tlstp->tlstp_context, iov[i].siv_base, (LU)iov[i].siv_len, + (void *)tlstp->tlstp_context, (void *)iov[i].siv_base, (LU)iov[i].siv_len, hunk ./libsofia-sip-ua/tport/tport_type_udp.c 238 - SU_DEBUG_3(("tport(%p): simulated packet loss!\n", self)); + SU_DEBUG_3(("tport(%p): simulated packet loss!\n", (void *)self)); hunk ./libsofia-sip-ua/tport/tport_type_udp.c 251 - SU_DEBUG_1(("%s(%p): su_getmsgsize(): %s (%d)\n", __func__, self, + SU_DEBUG_1(("%s(%p): su_getmsgsize(): %s (%d)\n", __func__, (void *)self, hunk ./libsofia-sip-ua/tport/tport_type_udp.c 281 - SU_DEBUG_1(("%s(%p): runt of "MOD_ZD" bytes\n", "tport_recv_dgram", self, n)); + SU_DEBUG_1(("%s(%p): runt of "MOD_ZD" bytes\n", "tport_recv_dgram", (void *)self, n)); } Context: [windows warnings fixes mike@jerris.com**20070206215153] [2005 project files increase warning levels mike@jerris.com**20070206214225] [nta, tport: fixed int/unsigned/size_t types. Patch by Mike Jerris. Pekka.Pessi@nokia.com**20070206213418] [iptsec: remove trailing = from nonce and cnonce Pekka.Pessi@nokia.com**20070206213232 Using BASE64_MINSIZE() newly defined in base64.h ] [RELEASE: updated Pekka.Pessi@nokia.com**20070206175357] [nta.c: request missing To tag matched dialog leg always. Pekka.Pessi@nokia.com**20070206175119 Now the request with missing To tag matches only dialogs where the tag has been added after creation of the leg. This partly fixes the problem reported by Fabio Margarido. ] [test_nua: allow nat filter to remove parts of the messages. Pekka.Pessi@nokia.com**20070206172516] [sofia-sip/su_bm.h: fixed bm_memmem() and bm_memcasemem() prototypes Pekka.Pessi@nokia.com**20070206172407 Returning non-const pointer (a'la strstr). ] [RELEASE: mention #1624446, #1626330 Pekka.Pessi@nokia.com**20070206172314] [poll.c: added poll() emulation on select() martti.mela@nokia.com**20070206155046] [sac-su2.m: adding poll.c if no poll() supported martti.mela@nokia.com**20070206154914] [torture_su_root.c: minor bug fixes martti.mela@nokia.com**20070206154822] [added several HAVE_SELECTs martti.mela@nokia.com**20070206154643] [su_localinfo.c: isolated IPv6 stuff with SU_HAVE_IN6s martti.mela@nokia.com**20070206154321] [su_wait.h: added poll() defines for poll() emulation martti.mela@nokia.com**20070206152834] [su/Makefile.am: added poll.c martti.mela@nokia.com**20070206151437] [Added build time options to disable STUN and NTH/HTTP library modules. kai.vehmanen@nokia.com**20070206180829] [nta.c: fixed memory leak if INVITE never receives a response after 100 Trying. Bug #1626330. Pekka.Pessi@nokia.com**20070206151432 ] [nua: fixed problem where a final error response to initial request destroyed handle while application still had a reference. Pekka.Pessi@nokia.com**20070206131119] [torture_sip.c: proper counting of unknown headers. Pekka.Pessi@nokia.com**20070205205849] [win32/Makefile.am, libsofia-sip-ua/su/Makefile.am: added win32/VC2005 files Pekka.Pessi@nokia.com**20070205205815] [su/su_win32_port.c: added (almost verbatim copy of su_poll_port.c) Pekka Pessi **20070205182921] [win32: added VC2005 project files Pekka Pessi **20070205182433] [win32 scripts: default to mawk Pekka Pessi **20070205181924] [win32/config.h.in: updated Pekka.Pessi@nokia.com**20070205192406] [nta.c: adding rport to all via headers we have added received. Pekka.Pessi@nokia.com*-20061004104233] [nua_params.[hc]: added autorespond flag to params Pekka.Pessi@nokia.com*-20061004123911] [--enable-experimental: fixed generating %tag_ref.c Pekka.Pessi@nokia.com**20070202183637] [libsofia-sip-ua/Makefile.am: not explicitly distribute sofia.am Pekka.Pessi@nokia.com**20070202182009] [test_sresolv.c: silenced sign comparison warnings Pekka.Pessi@nokia.com**20070202162338] [nua_params.[hc]: added autorespond flag to params Pekka.Pessi@nokia.com**20061004123911] [nta.c: adding rport to all via headers we have added received. Pekka.Pessi@nokia.com**20061004104233] [tport_tls.c: restored code that ignores SIGPIPE. Pekka.Pessi@nokia.com**20070202180843 OpenSSL unignores SIGPIPE? ] [RELEASE: updated. Pekka.Pessi@nokia.com**20070202180754] [su-glib: added su_glib_prefer_gsource(). Pekka.Pessi@nokia.com**20070202180735] [su_alloc.c: allow reference counting on home objects initialized statically or with su_home_init(). Pekka.Pessi@nokia.com**20070202180709 Note that an assertion fails if su_home_deinit() or su_home_destroy() is passed a home object that has reference count more than 1. ] [tport_tag.h, auth_client.c: added a few missin @NEW_1_12_5. Pekka.Pessi@nokia.com**20070202180535] [Added --enable-experimental command line option to ./configure script. Pekka.Pessi@nokia.com**20070202173259 If --enable-experimental is given, #define SU_HAVE_EXPERIMENTAL as 1 in . The SU_HAVE_EXPERIMENTAL is used to enable experimental features (currently including suppression of extra NOTIFYs and NOTIFY bodies as specified in draft-niemi-sip-subnot-etag-01). ] [su_source.c: refactored, provide latest virtual methods used by clones etc. Pekka.Pessi@nokia.com**20070202155136] [su_port: improved virtualization. Moved public clone functions to su_port.c. Pekka.Pessi@nokia.com**20070202155042 There are now two different preferred port implementations: one used with su_root_create() and another with su_clone_start(). ] [Updated RELEASE for persistant registrations. kai.vehmanen@nokia.com**20070202161458] [nua: Make registration transport connections persistant. Kai Vehmanen **20070202151504] [nua_params.c: fixed bug storing NUTAG_APPL_METHOD() value Pekka.Pessi@nokia.com**20070202105056 Thanks for Colin Whittaker for reporting this. ] [sac-su.m4: checking for sys/epoll.h, too. Pekka.Pessi@nokia.com**20070201203620 Fix proposed by Nickolay V. Shmyrev. ] [auth_module.c: use reference counting provided by su_home_t Pekka.Pessi@nokia.com**20070202071811] [nua: using NUTAG_M_DISPLAY(), NUTAG_M_USERNAME(), and NUTAG_M_PARAMS() in Contacts added to ordinary requests or responses Pekka.Pessi@nokia.com**20070202005910] [nua: allow unsolicited NOTIFY. Pekka.Pessi@nokia.com**20070202001221 When NUTAG_NEWSUB(1) is included in nua_notify() tags, notifier will allow sending unsolicited NOTIFY without existing subscription. When NUTAG_APPL_METHOD("NOTIFY") is included in nua_set_params() tags, incoming NOTIFYs are to be processed and accepted by application. ] [valcheck.am: removed debugging output Pekka.Pessi@nokia.com**20070202000744] [nua_session.c: fixed terminating call state machine. Pekka.Pessi@nokia.com**20070201200704 Fabio Margarido reported that the BYE is not sent upon certain error conditions. This was because state machine does not allow sending duplicate BYE in terminating state. Usually, the call state machine switches to terminating state upon sending BYE. However, certain error conditions (like not receiving ACK) causes the session to terminate, and the session state is change to terminating state outside BYE. The fix here changes the behaviour of internally generated BYE requests, they do not change the session state to terminating nor they check if the session state is already terminating. ] [test_nua: added a few tests for 200 OK timeout / ACK failing. Pekka.Pessi@nokia.com**20070201194306] [su: moved pthread-specific stuff into su_pthread_port.c from su_root.c. Pekka.Pessi@nokia.com**20070201193758 Virtualized su_clone_start(), su_clone_wait(), su_task_execute(). Added them to su_poll_port.c, su_epoll_port.c and su_select_port.c. ] [su/su.c, tport/tport_tls.c, etc.: using HAVE_SIGNAL. Pekka.Pessi@nokia.com**20070201121044 Moved SIGPIPE check from configure.ac to m4/sac-su2.m4. ] [Makefile.am's: added rules subdir, valcheck.am, recursive.am and valcheck target. Pekka.Pessi@nokia.com**20070201103848] [su_pthread_port.c: using the mutex from su_home_t. Pekka.Pessi@nokia.com**20070131115226] [su_alloc_lock.c: freeing memory of mutexes when they are destroyed Pekka.Pessi@nokia.com**20070131200910] [utils/sip-options.c: fixed output of unkown headers. Pekka.Pessi@nokia.com**20070130230312] [test_sresolv.c: removed warnings Pekka.Pessi@nokia.com**20061219054554 Printing a more descriptive error message from run_test_sresolv. ] [su: fixing handle leak with pthread_mutex_destroy()/pthread_cond_destroy() Pekka.Pessi@nokia.com**20070130193708 Thanks for Maxim Zaikin for reporting the problem. ] [su: separated su_poll_port and su_epoll_port implementations. Pekka.Pessi@nokia.com**20070126184414 Added a few test cases and fixed errors in su_port.c. ] [su_port.c etc: refactored su_port implementation. Pekka.Pessi@nokia.com**20070126155634 Basic su_port.c implementation using pthreads and poll() is now divided into three modules: su_base_port.c contains base implementation with su_base_*() functions, su_pthread_port.c contains pthread-specific implementation and su_poll_port() contains poll()/epoll()-specific parts. The decomposed su_port allows implementations on different platforms and usages to share code as far as possible. This patch also introduces configure option --disable-poll-port which should be used on systems with emulated poll, like older *BSD derivatives such as OS X. Note however that su_select_poll.c is not completed yet. ] [nua.c, nua_tag.h: updated documentation. Pekka.Pessi@nokia.com**20070126150433] [nua_register.c: fixed C99ism. Pekka.Pessi@nokia.com**20070125161641] [nta_internal.h: fixed type for sa_next. Pekka.Pessi@nokia.com**20070125155043 Re-ordered some fields for best possible 64-bit experience. ] [test_register.c: fixed test case numbering. Pekka.Pessi@nokia.com**20070126140757] [nua: refactored server side requests. Pekka.Pessi@nokia.com**20070124171140 There is now nua_server_methods_t table for handling requests on server side. ] [nua: fixed memory leak in nua_ack() Pekka.Pessi@nokia.com**20070124170929] [nua: added deinit method to client requests. Removed warnings, dead code from PRACK. Pekka.Pessi@nokia.com**20070124175602 ] [nua: added nua_stack_tevent(), updated nua_stack_event() prototype. Pekka.Pessi@nokia.com**20070108152949] [nua_stack.c, nua_session.c: moved OPTIONS probe hook into nua_stack.c Pekka.Pessi@nokia.com**20070108150344] [nua/outbound.c, outbound.h: updated interface. Pekka.Pessi@nokia.com**20070102083131 Use outbound_get_contacts() and outbound_start_registering() instead of outbound_register_request(). ] [nua_notifier.c: updating the subscription state in nua_notify_client_report(). Pekka.Pessi@nokia.com**20070108151007] [nua: nua_client_methods_t are const data. Pekka.Pessi@nokia.com**20070108150914] [nua: refactored the client side. Pekka.Pessi@nokia.com**20070102121444 Now each handle has a queue of client-side requests; if a request is pending, a new request from API is added to the queue. After the request is complete, it is removed from the queue and destroyed by the default. The exception is the client requests bound to a dialog usage: they are saved and re-used when the dialog usage is refreshed (and sometimes when they are terminated). The client request is subclassed and its behaviour modified using virtual function table in nua_client_methods_t. ] [nta.c: scheduling the agent timer only if is needed. Pekka.Pessi@nokia.com**20070123165507 This is a partial fix to the bug #1633969 in sf.net. ] [tport.c: fixed su_wait flags for connected socket Roman Filonenko **20070126152206] [url.c: fixed mixed ptrdiff_t/size_t usage. Pekka.Pessi@nokia.com**20070125161702] [nta.c: added nta_incoming_create_response(). Pekka.Pessi@nokia.com**20070124155828] [test_cancel_bye.c: print nua_handle_destroy() events. Pekka.Pessi@nokia.com**20070124152906] [test_nua: added --log option for logging messages from a certain endpoint only. Pekka.Pessi@nokia.com**20070124152825] [url.c: updated url_update() with # in username and IPv6 reference handling. Pekka.Pessi@nokia.com**20070124161401] [nua.docs, nua.c: updated documentation. Pekka.Pessi@nokia.com**20070102084842] [nua: added --loop option to nua_test, updated tests for client refactoring Pekka.Pessi@nokia.com**20070102084802] [Added support for querying DNS servers with IP Helper on win32. Disabled by default. Patch by Roman Filonenko. Kai Vehmanen **20070124154130] [nta_check.c: nta_check_session_expires() now uses correct value in Min-SE Pekka.Pessi@nokia.com**20070103090315] [su_wait_t defaults now to pollfd even if no HAVE_POLL martti.mela@nokia.com**20070124135153] [sres_blocking.c: pollfd now defined even if poll unsupported martti.mela@nokia.com**20070124134438] [bnf.c: convert_ip_address() compiles now without IPv6 martti.mela@nokia.com**20070124134254] [Network change without pthread remi.denis-courmont@nokia.com**20070124104255 Make room for network change implementation that would not need pthread. BSD(AF_ROUTE) and Linux(AF_NETLINK) would typically only need to register a socket to the root object, which is more lightweight. Also some cosmetic fixes. ] [Added documentation to su_glib. kai.vehmanen@nokia.com**20070124134047] [url.c: _url_d() accepts unescaped # in userpart of sip/sips uri Michael Jerris **20070122150838] [Fixed the addrinfo usage in manpage and command-line help. kai.vehmanen@nokia.com**20070102153326] [Fixed VC6 compiler warnings. Kai Vehmanen **20070102113300] [Updated win32 build_sources.cmd to create sip_extra.h. Kai Vehmanen **20070102112616] [TAG kv-darcs-20061229 kai.vehmanen@nokia.com**20061229173023] Patch bundle hash: 444327f93da2a057686911856539dcdbbb89cb6c