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

Commit31e3634

Browse files
committed
Suppress 'comparison-is-always-true' warning on machines
where char is signed by default.
1 parent75c147e commit31e3634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/ruleutils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*back to source text
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.69 2000/11/16 22:30:31 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.70 2000/11/18 04:40:18 tgl Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -1841,7 +1841,7 @@ get_const_expr(Const *constval, deparse_context *context)
18411841
appendStringInfoChar(buf,'\\');
18421842
appendStringInfoChar(buf,ch);
18431843
}
1844-
elseif (ch >=0&&ch<' ')
1844+
elseif (((unsignedchar)ch)<((unsignedchar)' '))
18451845
appendStringInfo(buf,"\\%03o", (int)ch);
18461846
else
18471847
appendStringInfoChar(buf,ch);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp