Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 0bad4e76595a5916d4c74119fc2b3651 > files > 4

amanda-2.5.0p2-4.src.rpm

--- amanda-2.5.0p2/common-src/statfs.c.big_holding_disk	2006-03-28 16:09:51.000000000 -0500
+++ amanda-2.5.0p2/common-src/statfs.c	2006-06-09 11:45:06.000000000 -0400
@@ -127,7 +127,7 @@
 # endif
 #endif
 
-#define scale(r,s)	( (r) == -1? -1 : (int)((r)*(double)(s)/1024.0) )
+#define scale(r,s)	( (r) == -1? -1 : (long long)((r)*(double)(s)/1024.0) )
 
 int get_fs_stats(dir, sp)
 char *dir;