Commit ad18b101 authored by Tom Lane's avatar Tom Lane

Add cast to suppress compile warning on Alphas.

parent 75fee453
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment