aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);