From: Marc G. Fournier Date: Sun, 22 Dec 1996 03:28:25 +0000 (+0000) Subject: Here's a little patch to keep the compiler quiet when compiling PostgreSQL V6.0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=refs%2Fheads%2FREL2_0B;p=postgresql Here's a little patch to keep the compiler quiet when compiling PostgreSQL V6.0 on the SPARC Solaris2 platform. Submitted by: Keith Parks --- diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index f069ee448d..d043586705 100644 --- a/src/backend/executor/nodeAgg.c +++ b/src/backend/executor/nodeAgg.c @@ -256,7 +256,7 @@ ExecAgg(Agg *node) for(i = 0; i < nagg; i++) { AttrNumber attnum; int2 attlen; - Datum newVal = NULL; + Datum newVal = (Datum)NULL; AggFuncInfo *aggfns = &aggFuncInfo[i]; Datum args[2]; Node *tagnode = NULL;