From 9055763381d56fb78384fd33589c7c2e768f0572 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Wed, 16 Nov 2022 14:51:52 +0100 Subject: [PATCH] core: pv - field for int value switched to long --- src/core/pvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/pvar.h b/src/core/pvar.h index 155b0125fba..292a5b2f985 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;