--- projects/libstatgrab/src/libstatgrab/disk_stats.c 2004/11/06 15:36:29 1.77 +++ projects/libstatgrab/src/libstatgrab/disk_stats.c 2004/11/06 23:54:12 1.78 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: disk_stats.c,v 1.77 2004/11/06 15:36:29 ats Exp $ + * $Id: disk_stats.c,v 1.78 2004/11/06 23:54:12 tdb Exp $ */ #ifdef HAVE_CONFIG_H @@ -106,7 +106,7 @@ static int is_valid_fs_type(const char *type) { const char *types[] = VALID_FS_TYPES; int i; - for (i = 0; i < (sizeof types / sizeof *types); i++) { + for (i = 0; i < (int) (sizeof types / sizeof *types); i++) { if (strcmp(types[i], type) == 0) { return 1; }