Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7fdbb8e

Browse files
committed
Suppress signed-vs-unsigned-char warning.
1 parent2ea56cb commit7fdbb8e

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/0902:15:59 tgl Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.127 2010/05/0918: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)

[8]ページ先頭

©2009-2025 Movatter.jp