aboutsummaryrefslogtreecommitdiff
path: root/src/str.c
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-07-02 07:29:38 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-07-02 07:29:38 +0000
commit96463c0d8952bae8d62adec02ce9e6b79d558938 (patch)
treed16f5bd78ea5b39b31ab88f1be071d80a1fd751e /src/str.c
parent2c99a3d8d74f58e4cc7974c4092c82cd6095ff48 (diff)
pkg_create checkpoint!
Diffstat (limited to 'src/str.c')
-rw-r--r--src/str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/str.c b/src/str.c
index 67fd709..e12719c 100644
--- a/src/str.c
+++ b/src/str.c
@@ -432,11 +432,11 @@ char str_last(const str *s) {
return s->data[s->len - 1];
}
-size_t str_find_char(const str *s, char c) {
+ptrdiff_t str_find_char(const str *s, char c) {
return str_slc_find_char(_strslc(s), c);
}
-size_t str_find_char_right(const str *s, char c) {
+ptrdiff_t str_find_char_right(const str *s, char c) {
return str_slc_find_char_right(_strslc(s), c);
}