[sr-dev] git:master:90557633: core: pv - field for int value switched to long
Daniel-Constantin Mierla
miconda at gmail.com
Wed Nov 16 16:49:49 CET 2022
Module: kamailio
Branch: master
Commit: 9055763381d56fb78384fd33589c7c2e768f0572
URL: https://github.com/kamailio/kamailio/commit/9055763381d56fb78384fd33589c7c2e768f0572
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
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;
More information about the sr-dev
mailing list