]> granicus.if.org Git - postgresql/commitdiff
Add cast to quiet compiler warning.
authorBryan Henderson <bryanh@giraffe.netgate.net>
Mon, 23 Dec 1996 08:39:27 +0000 (08:39 +0000)
committerBryan Henderson <bryanh@giraffe.netgate.net>
Mon, 23 Dec 1996 08:39:27 +0000 (08:39 +0000)
src/backend/executor/nodeAgg.c

index f069ee448d845ed33b7fac384fc6aeb915663311..4f1a5902f0acd29243e6fb80e37959f7ca5e08ed 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;