1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00

Use size_t in strrcmp().

git-svn-id: https://svn.xiph.org/trunk/ezstream@12616 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
moritz 2007-03-03 17:48:11 +00:00
parent c205414d70
commit 6187391e2c

View File

@ -167,8 +167,8 @@ basename(const char *fileName)
int
strrcmp(const char *s, const char *sub)
{
int slen = strlen(s);
int sublen = strlen(sub);
size_t slen = strlen(s);
size_t sublen = strlen(sub);
if (sublen > slen)
return (1);