summaryrefslogtreecommitdiff
path: root/net/scand/files/patch-viewstat.c
blob: 5403dff1d81149e2334624a85047421527678da3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- viewstat.c.orig	Wed Nov 19 12:49:59 2003
+++ viewstat.c	Wed Nov 19 12:50:15 2003
@@ -122,7 +122,7 @@
  		if (fstat(fd,&filestat)) Quit("fstat"); 
 
 		printf("Number of clusters = %d\n",
-		(int)	filestat.st_size / sizeof (clusterItem));
+		(int)	filestat.st_size / (int) sizeof (clusterItem));
 	}
 
 	while ( sizeof(clusterItem) == read( fd, &temp, sizeof(clusterItem)) ) {