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
diff options
context:
space:
mode:
authorAleksejs Sestakovs <aleksejs.sestakovs@zabbix.com>2021-04-26 00:23:10 +0300
committerAleksejs Sestakovs <aleksejs.sestakovs@zabbix.com>2021-04-26 00:23:10 +0300
commitd6d4753411cdac9da35ee23a66693ae4c9b9b359 (patch)
treeacd9b2f9a8d445b253c91cbae7e95b0709e41757 /include
parente3f150c1b5eb01eb7cdf2e44a1411e5000981c18 (diff)
........S. [ZBXNEXT-6544,ZBXNEXT-6546] fixed warnings
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index f2c94db7df5..5fc732e3448 100644
--- a/include/common.h
+++ b/include/common.h
@@ -1303,7 +1303,7 @@ char *convert_to_utf8(char *in, size_t in_size, const char *encoding);
#define ZBX_MAX_BYTES_IN_UTF8_CHAR 4
size_t zbx_utf8_char_len(const char *text);
size_t zbx_strlen_utf8(const char *text);
-char *zbx_strshift_utf8(char *text, int num);
+char *zbx_strshift_utf8(char *text, size_t num);
size_t zbx_strlen_utf8_nchars(const char *text, size_t utf8_maxlen);
size_t zbx_strlen_utf8_nbytes(const char *text, size_t maxlen);
size_t zbx_charcount_utf8_nbytes(const char *text, size_t maxlen);