Skip to content

Commit 958c482

Browse files
committed
str_count signature should return size_t
1 parent 435a2e6 commit 958c482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctl/str.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ str_find(str* self, const char* s)
9797
return SIZE_MAX;
9898
}
9999

100-
static inline int
100+
static inline size_t
101101
str_count(str* self, char c)
102102
{
103103
size_t count = 0;

0 commit comments

Comments
 (0)