pgsql: Use (unsigned char) cast in argument of pg_tolower().

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use (unsigned char) cast in argument of pg_tolower().
Date: 2009-04-03 23:27:28
Message-ID: 20090403232728.B6D34754ADE@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Use (unsigned char) cast in argument of pg_tolower(). Maybe it works on
Windows without that, but we shouldn't put bad examples where people might
copy them. Also, reformat slightly to improve the odds that pgindent
won't go nuts on this.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/port:
path.c (r1.70.2.1 -> r1.70.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/path.c?r1=1.70.2.1&r2=1.70.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-04-03 23:38:19 pgsql: Add missing help output for \ef option.
Previous Message Tom Lane 2009-04-03 23:27:22 pgsql: Use (unsigned char) cast in argument of pg_tolower().