[MPlayer-cvslog] r35381 - trunk/stream/cookies.c

reimar subversion at mplayerhq.hu
Sat Nov 10 13:16:53 CET 2012


Author: reimar
Date: Sat Nov 10 13:16:53 2012
New Revision: 35381

Log:
Do not do sign comparisons on "char" type which can be both signed or unsigned.

Modified:
   trunk/stream/cookies.c

Modified: trunk/stream/cookies.c
==============================================================================
--- trunk/stream/cookies.c	Sat Nov 10 13:14:26 2012	(r35380)
+++ trunk/stream/cookies.c	Sat Nov 10 13:16:53 2012	(r35381)
@@ -167,7 +167,7 @@ static struct cookie_list_type *load_coo
     if (!ptr)
 	return list;
 
-    while (*ptr > 0) {
+    while (*ptr) {
 	char *cols[7];
 	if (parse_line(&ptr, cols)) {
 	    struct cookie_list_type *new;


More information about the MPlayer-cvslog mailing list