From c4581eac9bfa07e8ce046d8528f22e1587cf91a2 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Wed, 19 Nov 2003 11:51:52 +0000 Subject: - Fix build on ARCH != i386 Submitted by: maintainer Noticed by: bento via kris --- net/scand/files/patch-viewstat.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/scand/files/patch-viewstat.c (limited to 'net/scand/files/patch-viewstat.c') diff --git a/net/scand/files/patch-viewstat.c b/net/scand/files/patch-viewstat.c new file mode 100644 index 000000000000..5403dff1d811 --- /dev/null +++ b/net/scand/files/patch-viewstat.c @@ -0,0 +1,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)) ) { -- cgit v1.2.3