From ea7f2f6a58d86b6f77fd064d099b916bf79fdcf7 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Mon, 25 Oct 2004 06:27:21 +0000 Subject: Remove three unnecessary casts from a pointer type to char * when calling pfree(). --- src/backend/postmaster/pgstat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/postmaster') diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c index 035f8dced9..cd502346d3 100644 --- a/src/backend/postmaster/pgstat.c +++ b/src/backend/postmaster/pgstat.c @@ -13,7 +13,7 @@ * * Copyright (c) 2001-2004, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.82 2004/10/25 00:46:41 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.83 2004/10/25 06:27:21 neilc Exp $ * ---------- */ #include "postgres.h" @@ -910,7 +910,7 @@ pgstat_vacuum_tabstat(void) /* * Free the dbid list. */ - pfree((char *) dbidlist); + pfree(dbidlist); /* * Tell the caller how many removeable objects we found -- cgit v1.2.1