mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
Apply unconstify() in more places
Discussion: https://www.postgresql.org/message-id/08adbe4e-38f8-2c73-55f0-591392371687%402ndquadrant.com
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user