1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Make 0x007f -> (unsigned)0x7f to make pgindent happy.

This commit is contained in:
Bruce Momjian
1999-05-25 22:04:56 +00:00
parent 519cd36d06
commit 4eadfe8754
15 changed files with 84 additions and 77 deletions

View File

@@ -2,7 +2,7 @@
* conversion between client encoding and server internal encoding
* (currently mule internal code (mic) is used)
* Tatsuo Ishii
* $Id: conv.c,v 1.8 1999/05/25 16:12:41 momjian Exp $
* $Id: conv.c,v 1.9 1999/05/25 22:04:47 momjian Exp $
*/
#include <stdio.h>
#include <string.h>
@@ -384,7 +384,7 @@ big52mic(unsigned char *big5, unsigned char *p, int len)
while (len > 0 && (c1 = *big5++))
{
if (c1 <= 0x007f U)
if (c1 <= (unsigned)0x7f)
{ /* ASCII */
len--;
*p++ = c1;