aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/utils.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 19:19:56 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 19:19:56 +0100
commitc278e2da0cf9aee161e23771125629bdfe8d5d89 (patch)
treed133edccf32c7a260c534e22325ce671b5023421 /src/common/utils.h
parent93fc79a5b2826bcddd617e5180d5513dc3cdc67c (diff)
downloadblogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.tar.gz
blogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.tar.bz2
blogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.zip
blogc: common: replace unsigned int with size_t
Diffstat (limited to 'src/common/utils.h')
-rw-r--r--src/common/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index b0388b3..0f05c96 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -47,7 +47,7 @@ bool bc_str_ends_with(const char *str, const char *suffix);
char* bc_str_lstrip(char *str);
char* bc_str_rstrip(char *str);
char* bc_str_strip(char *str);
-char** bc_str_split(const char *str, char c, unsigned int max_pieces);
+char** bc_str_split(const char *str, char c, size_t max_pieces);
char* bc_str_replace(const char *str, const char search, const char *replace);
char* bc_str_find(const char *str, char c);
void bc_strv_free(char **strv);