Skip to content

Commit 7fdbb8e

Browse files
committed
Suppress signed-vs-unsigned-char warning.
1 parent 2ea56cb commit 7fdbb8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/psql/print.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2010, PostgreSQL Global Development Group
55
*
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 $
77
*/
88
#include "postgres_fe.h"
99

@@ -928,14 +928,14 @@ print_aligned_text(const printTableContent *cont, FILE *fout)
928928
/* spaces first */
929929
fprintf(fout, "%*s", width_wrap[j] - chars_to_output, "");
930930
fputnbytes(fout,
931-
this_line->ptr + bytes_output[j],
931+
(char *) (this_line->ptr + bytes_output[j]),
932932
bytes_to_output);
933933
}
934934
else /* Left aligned cell */
935935
{
936936
/* spaces second */
937937
fputnbytes(fout,
938-
this_line->ptr + bytes_output[j],
938+
(char *) (this_line->ptr + bytes_output[j]),
939939
bytes_to_output);
940940
}
941941

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy