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
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
*
*
* 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);
else
elog(ERROR, "parser: %s at or near \"%s\" at character %d",
message, loc, (loc - scanbuf + 1));
message, loc, (int) (loc - scanbuf + 1));
}