summaryrefslogtreecommitdiff
path: root/contrib/xml2/xslt_proc.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-05-08 16:49:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-05-08 16:49:37 +0000
commiteb915caf92a6805740e949c3233ee32bc9676484 (patch)
treed31d42d4dca7cadd37662ad2e60597df047eaa51 /contrib/xml2/xslt_proc.c
parentabb78b1b5f1ac111a9e844321dc9baba076a349d (diff)
downloadpostgresql-eb915caf92a6805740e949c3233ee32bc9676484.tar.gz
Fix contrib/xml2 makefile to not override CFLAGS, and in passing make it
auto-configure properly for libxslt present or not.
Diffstat (limited to 'contrib/xml2/xslt_proc.c')
-rw-r--r--contrib/xml2/xslt_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/xml2/xslt_proc.c b/contrib/xml2/xslt_proc.c
index f498192426..b2349aaace 100644
--- a/contrib/xml2/xslt_proc.c
+++ b/contrib/xml2/xslt_proc.c
@@ -119,7 +119,7 @@ xslt_process(PG_FUNCTION_ARGS)
if (resstat < 0)
PG_RETURN_NULL();
- PG_RETURN_TEXT_P(cstring_to_text_with_len(resstr, reslen));
+ PG_RETURN_TEXT_P(cstring_to_text_with_len((char *) resstr, reslen));
}