Commit dbe31616 authored by Greg Stark's avatar Greg Stark

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.
parent 6513633b
...@@ -1350,7 +1350,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment