diff subreader.c @ 10236:4640f25fef12

warning fixes by Dominik
author alex
date Sun, 01 Jun 2003 22:16:41 +0000
parents 5f0d4b36db5a
children 8803033c8db4
line wrap: on
line diff
--- a/subreader.c	Sun Jun 01 22:10:44 2003 +0000
+++ b/subreader.c	Sun Jun 01 22:16:41 2003 +0000
@@ -1648,7 +1648,7 @@
     for (j = 0; j <= 1; j++) {
 	d = opendir(j == 0 ? f_dir : path);
 	if (d) {
-	    while (de = readdir(d)) {
+	    while ((de = readdir(d))) {
 		// retrieve various parts of the filename
 		strcpy_strip_ext(tmp_fname_noext, de->d_name);
 		strcpy_get_ext(tmp_fname_ext, de->d_name);