projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6513633
)
Remove unnecessary cast causing a warning
author
Greg Stark
<stark@mit.edu>
Tue, 29 Apr 2014 11:43:03 +0000
(12:43 +0100)
committer
Greg Stark
<stark@mit.edu>
Tue, 29 Apr 2014 11:43:03 +0000
(12:43 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/print.c
b/src/bin/psql/print.c
index 0ebffff2e35316b13b5c5db88e902727860767fa..dbdad3ed1c3dc449462e6ca614b9b02d98dc765a 100644
(file)
--- 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);