Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2022-03-04 17:12:38 +0300
committerArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2022-03-16 11:46:09 +0300
commitc60a2e57caca14fd6a05b2bf132bd6546ae05e85 (patch)
treea4f63352d3eb8b057b3785abac71f5ef71ac6730 /tests
parentca5268c7b09d423cf1f82871e733289a228f7b5f (diff)
.......... [DEV-2074] fixed or silenced latest gcc warnings
(cherry picked from commit d5c5d4fba94854f90c647fcbf8a0b6be94a31c6d)
Diffstat (limited to 'tests')
-rw-r--r--tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c b/tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c
index 9226f24cc8d..c46930c547a 100644
--- a/tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c
+++ b/tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c
@@ -128,7 +128,7 @@ CURLcode __wrap_curl_easy_setopt(CURL *easyhandle, int opt, void *val)
req_url = zbx_strdup(req_url, (char*)val);
break;
case CURLOPT_WRITEFUNCTION:
- cb_ptr = val;
+ *(void **)(&cb_ptr) = val;
break;
case CURLOPT_WRITEDATA:
page_data = val;