diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-10-25 00:42:57 +0100 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-10-25 01:02:46 +0100 |
commit | 0a8590b2a09e7a9e10612bc38d5e872b0c234eca (patch) | |
tree | 90f46a58ae6cfb1a68e32adf62cb55f433e95faa /src/port/win32setlocale.c | |
parent | f2898de98a5407a8b78f49866ef4931813505ca2 (diff) |
Apply unconstify() in more places
Discussion: https://www.postgresql.org/message-id/08adbe4e-38f8-2c73-55f0-591392371687%402ndquadrant.com
Diffstat (limited to 'src/port/win32setlocale.c')
-rw-r--r-- | src/port/win32setlocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/win32setlocale.c b/src/port/win32setlocale.c index 0597c2afca4..a8cf170dd15 100644 --- a/src/port/win32setlocale.c +++ b/src/port/win32setlocale.c @@ -183,7 +183,7 @@ pgwin32_setlocale(int category, const char *locale) * forbidden to modify, so casting away the "const" is innocuous. */ if (result) - result = (char *) map_locale(locale_map_result, result); + result = unconstify(char *, map_locale(locale_map_result, result)); return result; } |