- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
[cdrkit.git] / cdrkit-1.1.11-werror_gcc5.patch
blobf98bd362b17bfd1fb70bfe80eb3dec78c7ae3000
1 diff -up wrk/genisoimage/exclude.c.wrk wrk/genisoimage/exclude.c
2 --- wrk/genisoimage/exclude.c.wrk 2015-02-25 13:16:28.054237196 +0100
3 +++ wrk/genisoimage/exclude.c 2015-02-25 13:33:06.761312002 +0100
4 @@ -39,7 +39,7 @@ exclude(char *fn)
6 register int i;
8 - for (i = 0; excl[i] && i < MAXEXCL; i++)
9 + for (i = 0; i < MAXEXCL && excl[i]; i++)
12 if (i == MAXEXCL) {
13 @@ -69,7 +69,7 @@ is_excluded(char *fn)
15 * very dumb search method ...
17 - for (i = 0; excl[i] && i < MAXEXCL; i++) {
18 + for (i = 0; i < MAXEXCL && excl[i]; i++) {
19 if (strcmp(excl[i], fn) == 0) {
20 return (1); /* found -> excluded filenmae */
22 diff -up wrk/icedax/toc.c.wrk wrk/icedax/toc.c