File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
*
4
4
* Copyright (c) 2000-2010, PostgreSQL Global Development Group
5
5
*
6
- * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.126 2010/05/09 02:15:59 tgl Exp $
6
+ * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.127 2010/05/09 18:17:47 tgl Exp $
7
7
*/
8
8
#include "postgres_fe.h"
9
9
@@ -928,14 +928,14 @@ print_aligned_text(const printTableContent *cont, FILE *fout)
928
928
/* spaces first */
929
929
fprintf (fout , "%*s" , width_wrap [j ] - chars_to_output , "" );
930
930
fputnbytes (fout ,
931
- this_line -> ptr + bytes_output [j ],
931
+ ( char * ) ( this_line -> ptr + bytes_output [j ]) ,
932
932
bytes_to_output );
933
933
}
934
934
else /* Left aligned cell */
935
935
{
936
936
/* spaces second */
937
937
fputnbytes (fout ,
938
- this_line -> ptr + bytes_output [j ],
938
+ ( char * ) ( this_line -> ptr + bytes_output [j ]) ,
939
939
bytes_to_output );
940
940
}
941
941
You can’t perform that action at this time.
0 commit comments