Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id F09C6636252 for ; Fri, 3 Apr 2009 20:27:21 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 44025-07 for ; Fri, 3 Apr 2009 20:27:12 -0300 (ADT) Received: from cvs.postgresql.org (cvs.postgresql.org [217.196.146.206]) by mail.postgresql.org (Postfix) with ESMTP id 0F8BF634595 for ; Fri, 3 Apr 2009 20:27:19 -0300 (ADT) Received: by cvs.postgresql.org (Postfix, from userid 1007) id 4E1F9754ADE; Fri, 3 Apr 2009 23:27:17 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: pgsql: Use (unsigned char) cast in argument of pg_tolower(). X-Mailer: activitymail 1.24, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain Message-Id: <20090403232717.4E1F9754ADE@cvs.postgresql.org> Date: Fri, 3 Apr 2009 23:27:17 +0000 (UTC) From: tgl@postgresql.org (Tom Lane) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/40 X-Sequence-Number: 36534 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. Modified Files: -------------- pgsql/src/port: path.c (r1.77 -> r1.78) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/path.c?r1=1.77&r2=1.78)