Mercurial > mplayer.hg
comparison stream/cookies.c @ 35287:d67d5ae9c144
Do not do sign comparisons on "char" type which can be both signed or unsigned.
author | reimar |
---|---|
date | Sat, 10 Nov 2012 12:16:53 +0000 |
parents | ce056ec9e801 |
children | 4297ab925799 |
comparison
equal
deleted
inserted
replaced
35286:ce056ec9e801 | 35287:d67d5ae9c144 |
---|---|
165 | 165 |
166 ptr = load_file(filename, &length); | 166 ptr = load_file(filename, &length); |
167 if (!ptr) | 167 if (!ptr) |
168 return list; | 168 return list; |
169 | 169 |
170 while (*ptr > 0) { | 170 while (*ptr) { |
171 char *cols[7]; | 171 char *cols[7]; |
172 if (parse_line(&ptr, cols)) { | 172 if (parse_line(&ptr, cols)) { |
173 struct cookie_list_type *new; | 173 struct cookie_list_type *new; |
174 new = malloc(sizeof(cookie_list_t)); | 174 new = malloc(sizeof(cookie_list_t)); |
175 new->name = col_dup(cols[5]); | 175 new->name = col_dup(cols[5]); |