From 836f3febbf0f5756230c287206aa42c01822436c Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 10 Apr 2021 19:46:05 -0600 Subject: [PATCH] locale.c Make a char * variable const A future commit will want this --- locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale.c b/locale.c index d9f3e139fe0d..3fb4c4ecf3e6 100644 --- a/locale.c +++ b/locale.c @@ -4429,7 +4429,7 @@ S_switch_category_locale_to_template(pTHX_ const int switch_category, * so can be switched back to with the companion function * restore_switched_locale(), (NULL if no restoral is necessary.) */ - char * restore_to_locale = NULL; + const char * restore_to_locale = NULL; if (switch_category == template_category) { /* No changes needed */ return NULL;