Re: [HACKERS] needlessly casting away const in localtime.c

2016-09-20 Thread Tom Lane
Mark Dilger writes: > Friends, per the recent thread "gratuitous casting away const", the > assignment on line 1247 of localtime.c has const lvalue and rvalue, > yet casts through (char *) rather than (const char *). Fix attached. If you want to propose cosmetic

[HACKERS] needlessly casting away const in localtime.c

2016-09-20 Thread Mark Dilger
Friends, per the recent thread "gratuitous casting away const", the assignment on line 1247 of localtime.c has const lvalue and rvalue, yet casts through (char *) rather than (const char *). Fix attached. Mark Dilger localtime.c.patch Description: Binary data -- Sent via pgsql-hackers