summaryrefslogtreecommitdiff
path: root/src/bool-array.icc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-11-21 13:04:08 +0000
committerBruno Haible <bruno@clisp.org>2002-11-21 13:04:08 +0000
commit32f5ea88cf437049ce568b4dfa5e53c3baf83180 (patch)
tree82e763c10faa22382624cb36d290678870ca84e4 /src/bool-array.icc
parentbefb3d467e1f1231ecfa63212c3040bd9c1ff1a2 (diff)
downloadgperf-32f5ea88cf437049ce568b4dfa5e53c3baf83180.tar.gz
Avoid g++ -Wold-style-cast warnings.
Diffstat (limited to 'src/bool-array.icc')
-rw-r--r--src/bool-array.icc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bool-array.icc b/src/bool-array.icc
index bc85076..38d3874 100644
--- a/src/bool-array.icc
+++ b/src/bool-array.icc
@@ -35,7 +35,8 @@ Bool_Array::Bool_Array (unsigned int size)
memset (_storage_array, 0, size * sizeof (_storage_array[0]));
if (option[DEBUG])
fprintf (stderr, "\nbool array size = %d, total bytes = %d\n",
- _size, (unsigned int) (_size * sizeof (_storage_array[0])));
+ _size,
+ static_cast<unsigned int> (_size * sizeof (_storage_array[0])));
}
/* Sets the specified bit to true.