postgres.git / summary / log / commit / refs

commit    dbe31616c9be7380b8a88cdfbeaa68dbdcdebc36
Author:   Greg Stark <stark@mit.edu>
Date:     Tue Apr 29 11:43:03 2014 +0000
First released in: 9.5.0
Reverted by: 7e81c4b2901d (in 9.4.0)

    Remove unnecessary cast causing a warning
    
    Incidentally, I reversed the two names in the earlier commit. The
    original author was Sergey Muraviov and the reviewer was Emre
    Hasegeli.


src/bin/psql/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index 0ebffff2e35..dbdad3ed1c3 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -1350,7 +1350,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout) { int swidth, twidth = hwidth + 1; fputs(hline? format->header_nl_left: " ", fout); - strlen_max_width((char *) hlineptr[hline].ptr, &twidth, + strlen_max_width(hlineptr[hline].ptr, &twidth, encoding); fprintf(fout, "%-s", hlineptr[hline].ptr); [parent: 6513633b9417]