diff options
author | Bruno Haible <bruno@clisp.org> | 2003-03-03 14:28:09 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-03-03 14:28:09 +0000 |
commit | 9fa3ac42b377a7a8c519d64e25cbe83c7d3300a6 (patch) | |
tree | 5c8094a1c3fbea42dd6328fc89837d5df8475426 /src/input.cc | |
parent | ea37cea17b7ec6904823efbfd75fef85b31266ea (diff) | |
download | gperf-9fa3ac42b377a7a8c519d64e25cbe83c7d3300a6.tar.gz |
Portability fixes.
Diffstat (limited to 'src/input.cc')
-rw-r--r-- | src/input.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input.cc b/src/input.cc index fbb0bea..3c81ba4 100644 --- a/src/input.cc +++ b/src/input.cc @@ -915,8 +915,8 @@ Input::read_input () Input::~Input () { /* Free allocated memory. */ - delete[] _return_type; - delete[] _struct_tag; - delete[] _struct_decl; + delete[] const_cast<char*>(_return_type); + delete[] const_cast<char*>(_struct_tag); + delete[] const_cast<char*>(_struct_decl); delete[] _input; } |