X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=phpstr%2Fphpstr.h;h=c53d311f2b532dabb0dcaed462d370f7ee1e1a5d;hp=bd749d6f6ae50bae0d011f86ff0d3d909f665c12;hb=1877c25f3174e7ec12dfcfe2797e2454bd9d94eb;hpb=0f08208cc1b223ccb90554718181d553156997f4 diff --git a/phpstr/phpstr.h b/phpstr/phpstr.h index bd749d6..c53d311 100644 --- a/phpstr/phpstr.h +++ b/phpstr/phpstr.h @@ -98,7 +98,7 @@ PHPSTR_API phpstr *phpstr_right(const phpstr *buf, size_t length); PHPSTR_API phpstr *phpstr_sub(const phpstr *buf, size_t offset, size_t len); /* remove a substring */ -PHPSTR_API ssize_t phpstr_cut(phpstr *buf, size_t offset, size_t length); +PHPSTR_API size_t phpstr_cut(phpstr *buf, size_t offset, size_t length); /* get a complete phpstr duplicate */ PHPSTR_API phpstr *phpstr_dup(const phpstr *buf);