aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Warner <pjw@rhyme.com.au>2000-09-15 04:57:09 +0000
committerPhilip Warner <pjw@rhyme.com.au>2000-09-15 04:57:09 +0000
commit6ead466e10a3f7d4bfed8b293323ce74013ff35e (patch)
tree491a736af86f47683ffab7f61b5e5832cb3bc7d8 /src
parentc74257e9e0d31fd07e06c2e1c333ca21b1f3eace (diff)
downloadpostgresql-6ead466e10a3f7d4bfed8b293323ce74013ff35e.tar.gz
postgresql-6ead466e10a3f7d4bfed8b293323ce74013ff35e.zip
Minor code cleanup (cast away const-ness)
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/common.c b/src/bin/pg_dump/common.c
index 8e1847b8d6a..17aba1956f7 100644
--- a/src/bin/pg_dump/common.c
+++ b/src/bin/pg_dump/common.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.46 2000/09/15 04:35:16 pjw Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.47 2000/09/15 04:57:09 pjw Exp $
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
@@ -79,7 +79,7 @@ findTypeByOid(TypeInfo *tinfo, int numTypes, const char *oid, OidOptions opts)
{
if (strcmp(tinfo[i].oid, oid) == 0) {
if ( (opts & useBaseTypeName) != 0 ) {
- return fmtId(tinfo[i].typname, false);
+ return (char*) fmtId(tinfo[i].typname, false);
} else {
return tinfo[i].typedefn;
}