Skip to content

Commit 31e3634

Browse files
committed
Suppress 'comparison-is-always-true' warning on machines
where char is signed by default.
1 parent 75c147e commit 31e3634

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-
else if (ch >= 0 && ch < ' ')
1844+
else if (((unsigned char) ch) < ((unsigned char) ' '))
18451845
appendStringInfo(buf, "\\%03o", (int) ch);
18461846
else
18471847
appendStringInfoChar(buf, ch);

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