mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix build on ARCH != i386
Submitted by: maintainer Noticed by: bento via kris
This commit is contained in:
parent
7c6ac8ed7a
commit
c4581eac9b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94349
11
net/scand/files/patch-viewstat.c
Normal file
11
net/scand/files/patch-viewstat.c
Normal file
@ -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)) ) {
|
Loading…
Reference in New Issue
Block a user