Here's a little patch to keep the compiler quiet when compiling PostgreSQL V6.0 REL2_0B github/REL2_0B
authorMarc G. Fournier <[email protected]>
Sun, 22 Dec 1996 03:28:25 +0000 (03:28 +0000)
committerMarc G. Fournier <[email protected]>
Sun, 22 Dec 1996 03:28:25 +0000 (03:28 +0000)
on the SPARC Solaris2 platform.

Submitted by: Keith Parks <[email protected]>

src/backend/executor/nodeAgg.c

index f069ee448d845ed33b7fac384fc6aeb915663311..d043586705e0f7273549ef07c8490992b49c9911 100644 (file)
@@ -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;