summaryrefslogtreecommitdiff
path: root/lib/util.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.ml')
-rw-r--r--lib/util.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.ml b/lib/util.ml
index 75ee4246..a19cc65b 100644
--- a/lib/util.ml
+++ b/lib/util.ml
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(***********************************************************************)
-(* $Id: util.ml 11309 2008-08-06 10:30:35Z herbelin $ *)
+(* $Id: util.ml 11350 2008-09-02 15:37:49Z barras $ *)
open Pp
@@ -1361,7 +1361,7 @@ let heap_size () =
let stat = Gc.stat ()
and control = Gc.get () in
let max_words_total = stat.Gc.heap_words + control.Gc.minor_heap_size in
- (max_words_total * Sys.word_size / 8)
+ (max_words_total * (Sys.word_size / 8))
let heap_size_kb () = (heap_size () + 1023) / 1024