From 6187391e2c1da45b5e4e8c8726621290718a78e0 Mon Sep 17 00:00:00 2001 From: moritz Date: Sat, 3 Mar 2007 17:48:11 +0000 Subject: [PATCH] Use size_t in strrcmp(). git-svn-id: https://svn.xiph.org/trunk/ezstream@12616 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/ezstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ezstream.c b/src/ezstream.c index e174ee9..5a89ea9 100644 --- a/src/ezstream.c +++ b/src/ezstream.c @@ -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);