mirror of
https://github.com/postgres/postgres.git
synced 2026-04-06 17:55:50 -04:00
Fix another case of indirectly casting away const.
This one was missed in 8f1791c61, because the machines that
detected those issues don't compile this function.
Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1324889.1764886170@sss.pgh.pa.us
This commit is contained in:
parent
2214a207ee
commit
9f7565c6c2
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ int
|
|||
getopt(int nargc, char *const *nargv, const char *ostr)
|
||||
{
|
||||
static char *place = EMSG; /* option letter processing */
|
||||
char *oli; /* option letter list index */
|
||||
const char *oli; /* option letter list index */
|
||||
|
||||
if (!*place)
|
||||
{ /* update scanning pointer */
|
||||
|
|
|
|||
Loading…
Reference in a new issue