mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Cast slightly abused enum to int, so that GCC 4.5 won't warn about switch
cases that are not part of the enum's definition.
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/nodes/read.c,v 1.53 2010/01/02 16:57:46 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/nodes/read.c,v 1.54 2010/01/18 22:19:34 petere Exp $
|
||||||
*
|
*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* AUTHOR DATE MAJOR EVENT
|
* AUTHOR DATE MAJOR EVENT
|
||||||
@ -289,7 +289,7 @@ nodeRead(char *token, int tok_len)
|
|||||||
|
|
||||||
type = nodeTokenType(token, tok_len);
|
type = nodeTokenType(token, tok_len);
|
||||||
|
|
||||||
switch (type)
|
switch ((int) type)
|
||||||
{
|
{
|
||||||
case LEFT_BRACE:
|
case LEFT_BRACE:
|
||||||
result = parseNodeString();
|
result = parseNodeString();
|
||||||
|
Reference in New Issue
Block a user