summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2002-11-11 03:33:44 +0000
committerTom Lane2002-11-11 03:33:44 +0000
commit4e7721fdfe0a491def779af52db133e5d9bc1035 (patch)
tree00f22819d92724ba1c3687dc418090dee7d915b7
parentf28dc57750b7b39454176d7e19ccdc65b5a5165d (diff)
Add cast to suppress compile warning on Alphas.
-rw-r--r--src/backend/parser/scan.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l
index 756f9f01199..c1c23a67240 100644
--- a/src/backend/parser/scan.l
+++ b/src/backend/parser/scan.l
@@ -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.102.2.1 2002/11/11 03:33:44 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));
}