Module: kamailio Branch: master Commit: c11fcbbe9ed19bc54b800100d15d9ae269735f0c URL: https://github.com/kamailio/kamailio/commit/c11fcbbe9ed19bc54b800100d15d9ae2...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2023-08-23T13:03:02+02:00
msilo: cast to fix storage size warning
---
Modified: src/modules/msilo/msilo.c
---
Diff: https://github.com/kamailio/kamailio/commit/c11fcbbe9ed19bc54b800100d15d9ae2... Patch: https://github.com/kamailio/kamailio/commit/c11fcbbe9ed19bc54b800100d15d9ae2...
---
diff --git a/src/modules/msilo/msilo.c b/src/modules/msilo/msilo.c index a5d3b74c0c1..00cf593811f 100644 --- a/src/modules/msilo/msilo.c +++ b/src/modules/msilo/msilo.c @@ -741,7 +741,7 @@ static int m_store_addrs(sip_msg_t *msg, str *owner, str *srcaddr, str *dstaddr) }
/* current time */ - val = (int)time(NULL); + val = (int)(unsigned long long)time(NULL);
/* add expiration time */ db_keys[nr_keys] = &sc_exp_time;