diff --git a/lib/reg/ci.c b/lib/reg/ci.c index 23c6a9d129b..6f87098439d 100644 --- a/lib/reg/ci.c +++ b/lib/reg/ci.c @@ -214,7 +214,7 @@ void print_ci(ucontact_info_t *ci) LM_DBG(" ----- UCI DUMP (%p) ------\n", ci); LM_DBG("received: %.*s, path: %.*s\n", ci->received.len, ci->received.s, ci->path ? ci->path->len : 0, ci->path ? ci->path->s : NULL); - LM_DBG("expires: %ld, expires_in: %ld, expires_out: %ld\n", ci->expires, + LM_DBG("expires: %lld, expires_in: %ld, expires_out: %ld\n", (long long)ci->expires, ci->expires_in, ci->expires_out); LM_DBG("q: %d, instance: %.*s, callid: %.*s\n", ci->q, ci->instance.len, ci->instance.s, ci->callid ? ci->callid->len : 0, @@ -224,6 +224,6 @@ void print_ci(ucontact_info_t *ci) LM_DBG("user_agent: %.*s, sock: %p, methods: %d\n", ci->user_agent ? ci->user_agent->len : 0, ci->user_agent ? ci->user_agent->s : NULL, ci->sock, ci->methods); - LM_DBG("last_modified: %ld, attr: %.*s\n", ci->last_modified, + LM_DBG("last_modified: %lld, attr: %.*s\n", (long long)ci->last_modified, ci->attr ? ci->attr->len : 0, ci->attr ? ci->attr->s : NULL); } diff --git a/lib/reg/common.h b/lib/reg/common.h index 674460fd85c..c893193ace3 100644 --- a/lib/reg/common.h +++ b/lib/reg/common.h @@ -84,8 +84,8 @@ static inline time_t randomize_expires(unsigned int expires_ts) expires_dur = max_expires; ret = expires_dur + get_act_time(); - LM_DBG("randomized expiry ts from %u to %lu (adj: %d/%d, " - "max_deviation: %d)\n", expires_ts, ret, expires_adj, + LM_DBG("randomized expiry ts from %u to %lld (adj: %d/%d, " + "max_deviation: %d)\n", expires_ts, (long long)ret, expires_adj, (int)ret - (int)expires_ts, expires_max_deviation); return ret; diff --git a/scripts/build/apt_requirements.txt b/scripts/build/apt_requirements.sh similarity index 67% rename from scripts/build/apt_requirements.txt rename to scripts/build/apt_requirements.sh index feccd6b9089..f7f59b43f91 100644 --- a/scripts/build/apt_requirements.txt +++ b/scripts/build/apt_requirements.sh @@ -1,3 +1,6 @@ +#!/bin/sh + +cat <