Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release-src > by-pkgid > 19862556dd30693507541a3c26b445c4 > files > 1

coreutils-9.4-2.mga10.src.rpm

--- coreutils-5.0.91/lib/physmem.c.64bit-fixes	2004-01-08 16:23:09.000000000 +0100
+++ coreutils-5.0.91/lib/physmem.c	2004-01-08 16:27:37.000000000 +0100
@@ -84,7 +84,7 @@ typedef WINBOOL (WINAPI *PFN_MS_EX) (lME
 static double
 physmem_cap (double mem)
 {
-  double max = 1 << (sizeof(void *)*8 - 4);
+  double max = 1L << (sizeof(void *)*8 - 4);
   return mem > max ? max : mem;
 }