diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2022-02-04 00:35:52 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2022-02-04 00:35:52 +0300 |
commit | 5cdda6e18c0a3787c902ab6cc95c147c7f83a0f5 (patch) | |
tree | f97e90b6577be7d1923c5265947d83041c598328 /tests | |
parent | 0fc1a04929b1de965e6d460a2bbf22f3daffc2fe (diff) |
.......... [DEV-2074] fixed tests warnings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c | 2 |
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; |