aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Stark <stark@mit.edu>2014-04-29 12:43:03 +0100
committerGreg Stark <stark@mit.edu>2014-04-29 12:43:03 +0100
commitdbe31616c9be7380b8a88cdfbeaa68dbdcdebc36 (patch)
treeb9cb8ad7f2e0b59b94ad38fc25d58ca26471c6ca
parent6513633b94173fc1d9e2b213c43f9422ddbf5faa (diff)
downloadpostgresql-dbe31616c9be7380b8a88cdfbeaa68dbdcdebc36.tar.gz
postgresql-dbe31616c9be7380b8a88cdfbeaa68dbdcdebc36.zip
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.
-rw-r--r--src/bin/psql/print.c2
1 files changed, 1 insertions, 1 deletions
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);