From 66d7bbf6746adb00b859c7ffc7c55ad96b18e29a Mon Sep 17 00:00:00 2001 From: Tom Lane <tgl@sss.pgh.pa.us> Date: Tue, 27 Nov 2007 18:13:01 +0000 Subject: [PATCH] Suppress compiler warning. --- src/backend/utils/adt/xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/utils/adt/xml.c b/src/backend/utils/adt/xml.c index 07ca7a8e780..23274340923 100644 --- a/src/backend/utils/adt/xml.c +++ b/src/backend/utils/adt/xml.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.61 2007/11/27 12:21:05 petere Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.62 2007/11/27 18:13:01 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -536,7 +536,7 @@ xmltotext(PG_FUNCTION_ARGS) xmltype *data = PG_GETARG_XML_P(0); /* It's actually binary compatible. */ - return (text *) data; + PG_RETURN_TEXT_P((text *) data); } -- GitLab