summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-19 11:51:52 +0000
committerkrion <krion@FreeBSD.org>2003-11-19 11:51:52 +0000
commit63756133cdd5fbd5b6b4d841f8ef89cf5971c25f (patch)
treecb819835e82cb07d633b778b97916535253d1ce7 /net
parent2cb5b6061dd4a30803a01ae9e6d5feba8cedc20f (diff)
downloadFreeBSD-ports-63756133cdd5fbd5b6b4d841f8ef89cf5971c25f.zip
FreeBSD-ports-63756133cdd5fbd5b6b4d841f8ef89cf5971c25f.tar.gz
- Fix build on ARCH != i386
Submitted by: maintainer Noticed by: bento via kris
Diffstat (limited to 'net')
-rw-r--r--net/scand/files/patch-viewstat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/scand/files/patch-viewstat.c b/net/scand/files/patch-viewstat.c
new file mode 100644
index 0000000..5403dff
--- /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)) ) {
OpenPOWER on IntegriCloud