1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-15 19:21:59 +03:00

Add cast to suppress compile warning on Alphas.

This commit is contained in:
Tom Lane
2002-11-11 03:33:38 +00:00
parent 75fee4535d
commit ad18b10181

View File

@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.102 2002/11/04 14:25:42 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.103 2002/11/11 03:33:38 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -580,7 +580,7 @@ yyerror(const char *message)
elog(ERROR, "parser: %s at end of input", message); elog(ERROR, "parser: %s at end of input", message);
else else
elog(ERROR, "parser: %s at or near \"%s\" at character %d", elog(ERROR, "parser: %s at or near \"%s\" at character %d",
message, loc, (loc - scanbuf + 1)); message, loc, (int) (loc - scanbuf + 1));
} }