diff options
Diffstat (limited to 'libs/pbd/locale_guard.cc')
-rw-r--r-- | libs/pbd/locale_guard.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/locale_guard.cc b/libs/pbd/locale_guard.cc index 30fdeadeba..3b8fa7132e 100644 --- a/libs/pbd/locale_guard.cc +++ b/libs/pbd/locale_guard.cc @@ -23,7 +23,7 @@ LocaleGuard::~LocaleGuard () setlocale (LC_NUMERIC, old); if (old) { - free ((char*)old); + free (const_cast<char*>(old)); } } |