Fix build in devmode for GCC 4.10
[asterisk/asterisk.git] / res / res_pjsip_pubsub.c
index 381f376..dfca643 100644 (file)
@@ -1137,7 +1137,7 @@ static pj_bool_t pubsub_on_rx_subscribe_request(pjsip_rx_data *rdata)
                                return PJ_TRUE;
                }
                if (expires_header->ivalue < endpoint->subscription.minexpiry) {
-                       ast_log(LOG_WARNING, "Subscription expiration %d is too brief for endpoint %s. Minimum is %d\n",
+                       ast_log(LOG_WARNING, "Subscription expiration %d is too brief for endpoint %s. Minimum is %u\n",
                                expires_header->ivalue, ast_sorcery_object_get_id(endpoint), endpoint->subscription.minexpiry);
                        pjsip_endpt_respond_stateless(ast_sip_get_pjsip_endpoint(), rdata, 423, NULL, NULL, NULL);
                        return PJ_TRUE;