aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc/check_renderer.c
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 /tests/blogc/check_renderer.c
parent93fc79a5b2826bcddd617e5180d5513dc3cdc67c (diff)
downloadblogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.tar.gz
blogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.tar.bz2
blogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.zip
blogc: common: replace unsigned int with size_t
Diffstat (limited to 'tests/blogc/check_renderer.c')
-rw-r--r--tests/blogc/check_renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/blogc/check_renderer.c b/tests/blogc/check_renderer.c
index b0fbb94..369ba3d 100644
--- a/tests/blogc/check_renderer.c
+++ b/tests/blogc/check_renderer.c
@@ -21,7 +21,7 @@
static bc_slist_t*
-create_sources(unsigned int count)
+create_sources(size_t count)
{
const char *s[] = {
"BOLA: asd\n"
@@ -46,7 +46,7 @@ create_sources(unsigned int count)
assert_false(count > 3);
bc_error_t *err = NULL;
bc_slist_t *l = NULL;
- for (unsigned int i = 0; i < count; i++) {
+ for (size_t i = 0; i < count; i++) {
l = bc_slist_append(l, blogc_source_parse(s[i], strlen(s[i]), &err));
assert_null(err);
}