diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-10-11 16:30:55 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-10-11 16:30:55 +0000 |
commit | d51368dbbdde9cc11299426ec199c142f0a2e062 (patch) | |
tree | 4e485ae70c86574ecaf05667a5933eca5401aa04 /src/bin/psql/command.c | |
parent | 386e0f9046de6330f2cd5f30a70dbb17e21af87d (diff) |
This patch will stop gcc from issuing warnings about type-punned objects
when -fstrict-aliasing is turned on, as it is in the latest gcc when you
use -O2
Andrew Dunstan
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index ce5379e4f6f..87ae1dc7c65 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.103 2003/09/29 16:39:18 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.104 2003/10/11 16:30:55 momjian Exp $ */ #include "postgres_fe.h" #include "command.h" @@ -1280,7 +1280,7 @@ unescape(const unsigned char *source, size_t len) case '7': case '8': case '9': - c = parse_char((char **) &p); + c = parse_char((void *) &p); break; default: |