[xiph-commits] r12616 - trunk/ezstream/src

moritz at svn.xiph.org moritz at svn.xiph.org
Sat Mar 3 09:48:13 PST 2007


Author: moritz
Date: 2007-03-03 09:48:11 -0800 (Sat, 03 Mar 2007)
New Revision: 12616

Modified:
   trunk/ezstream/src/ezstream.c
Log:
Use size_t in strrcmp().


Modified: trunk/ezstream/src/ezstream.c
===================================================================
--- trunk/ezstream/src/ezstream.c	2007-03-03 16:13:08 UTC (rev 12615)
+++ trunk/ezstream/src/ezstream.c	2007-03-03 17:48:11 UTC (rev 12616)
@@ -167,8 +167,8 @@
 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);



More information about the commits mailing list