summaryrefslogtreecommitdiff
path: root/src/keyword.cc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-03-03 14:28:09 +0000
committerBruno Haible <bruno@clisp.org>2003-03-03 14:28:09 +0000
commit9fa3ac42b377a7a8c519d64e25cbe83c7d3300a6 (patch)
tree5c8094a1c3fbea42dd6328fc89837d5df8475426 /src/keyword.cc
parentea37cea17b7ec6904823efbfd75fef85b31266ea (diff)
downloadgperf-9fa3ac42b377a7a8c519d64e25cbe83c7d3300a6.tar.gz
Portability fixes.
Diffstat (limited to 'src/keyword.cc')
-rw-r--r--src/keyword.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyword.cc b/src/keyword.cc
index 36cfa6d..a784e07 100644
--- a/src/keyword.cc
+++ b/src/keyword.cc
@@ -130,7 +130,7 @@ KeywordExt::init_selchars_multiset (bool use_all_chars, const Positions& positio
void
KeywordExt::delete_selchars ()
{
- delete[] _selchars;
+ delete[] const_cast<unsigned int *>(_selchars);
}