Module: kamailio
Branch: master
Commit: 9055763381d56fb78384fd33589c7c2e768f0572
URL: 
https://github.com/kamailio/kamailio/commit/9055763381d56fb78384fd33589c7c2e768f0572

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2022-11-16T16:49:30+01:00

core: pv - field for int value switched to long

---

Modified: src/core/pvar.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/9055763381d56fb78384fd33589c7c2e768f0572.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9055763381d56fb78384fd33589c7c2e768f0572.patch

---

diff --git a/src/core/pvar.h b/src/core/pvar.h
index 155b0125fb..292a5b2f98 100644
--- a/src/core/pvar.h
+++ b/src/core/pvar.h
@@ -90,7 +90,7 @@ typedef void (*pv_name_free_f)(void*);
 typedef struct _pv_value
 {
        str rs;    /*!< string value */
-       int ri;    /*!< integer value */
+       long ri;   /*!< long value */
        int flags; /*!< flags about the type of value */
 } pv_value_t, *pv_value_p;
 
@@ -266,7 +266,7 @@ enum _tr_param_type { TR_PARAM_NONE=0, TR_PARAM_STRING, 
TR_PARAM_NUMBER,
 typedef struct _tr_param {
        int type;
        union {
-               int n;
+               long n;
                str s;
                void *data;
        } v;


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to