mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Add cast to suppress compile warning on Alphas.
This commit is contained in:
parent
75fee4535d
commit
ad18b10181
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user