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.
pull/6/head
Greg Stark 12 years ago
parent 6513633b94
commit dbe31616c9
  1. 2
      src/bin/psql/print.c

@ -1350,7 +1350,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout)
{ {
int swidth, twidth = hwidth + 1; int swidth, twidth = hwidth + 1;
fputs(hline? format->header_nl_left: " ", fout); fputs(hline? format->header_nl_left: " ", fout);
strlen_max_width((char *) hlineptr[hline].ptr, &twidth, strlen_max_width(hlineptr[hline].ptr, &twidth,
encoding); encoding);
fprintf(fout, "%-s", hlineptr[hline].ptr); fprintf(fout, "%-s", hlineptr[hline].ptr);

Loading…
Cancel
Save