summaryrefslogtreecommitdiffstats
path: root/exporting
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2022-09-26 13:49:56 +0000
committerGitHub <noreply@github.com>2022-09-26 13:49:56 +0000
commit71cb1ad68707718671ef57c901dfa2041f15bbe6 (patch)
tree71f0cb5819b66a0864e1044678492ea044beed3c /exporting
parent570a716100f313026c127e9dbf3b9c65e423e3a3 (diff)
Fix warnings during compilation time on ARM (32 bits) (#13681)
Diffstat (limited to 'exporting')
-rw-r--r--exporting/graphite/graphite.c2
-rw-r--r--exporting/json/json.c2
-rw-r--r--exporting/opentsdb/opentsdb.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/exporting/graphite/graphite.c b/exporting/graphite/graphite.c
index 8753545578..0b33f6428c 100644
--- a/exporting/graphite/graphite.c
+++ b/exporting/graphite/graphite.c
@@ -214,7 +214,7 @@ void graphite_http_prepare_header(struct instance *instance)
"\r\n",
instance->config.destination,
simple_connector_data->auth_string ? simple_connector_data->auth_string : "",
- buffer_strlen(simple_connector_data->last_buffer->buffer));
+ (unsigned long int) buffer_strlen(simple_connector_data->last_buffer->buffer));
return;
}
diff --git a/exporting/json/json.c b/exporting/json/json.c
index dc2d5aae99..dd53f6f0a4 100644
--- a/exporting/json/json.c
+++ b/exporting/json/json.c
@@ -344,7 +344,7 @@ void json_http_prepare_header(struct instance *instance)
"\r\n",
instance->config.destination,
simple_connector_data->auth_string ? simple_connector_data->auth_string : "",
- buffer_strlen(simple_connector_data->last_buffer->buffer));
+ (unsigned long int) buffer_strlen(simple_connector_data->last_buffer->buffer));
return;
}
diff --git a/exporting/opentsdb/opentsdb.c b/exporting/opentsdb/opentsdb.c
index d77a2f6a5b..a974c12645 100644
--- a/exporting/opentsdb/opentsdb.c
+++ b/exporting/opentsdb/opentsdb.c
@@ -268,7 +268,7 @@ void opentsdb_http_prepare_header(struct instance *instance)
"\r\n",
instance->config.destination,
simple_connector_data->auth_string ? simple_connector_data->auth_string : "",
- buffer_strlen(simple_connector_data->last_buffer->buffer));
+ (unsigned long int) buffer_strlen(simple_connector_data->last_buffer->buffer));
return;
}