summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorBruce Momjian1997-10-30 23:37:01 +0000
committerBruce Momjian1997-10-30 23:37:01 +0000
commit0308f91cd2f1da442700428eafe20fa1b787ef9d (patch)
tree78c4d3488a8f56deefe423bf7bd8e3c6d32fd609 /src/include/access
parentfcb47f8884319e4f34a61b7cc6aba57e67236765 (diff)
No more warnings on macros, thanks VAdim.
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/heapam.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h
index 7236ce92a77..4621d836713 100644
--- a/src/include/access/heapam.h
+++ b/src/include/access/heapam.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: heapam.h,v 1.19 1997/09/14 03:59:44 momjian Exp $
+ * $Id: heapam.h,v 1.20 1997/10/30 23:37:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -101,10 +101,10 @@ typedef HeapAccessStatisticsData *HeapAccessStatistics;
#define heap_getattr(tup, b, attnum, tupleDesc, isnull) \
(AssertMacro((tup) != NULL) ? \
((attnum) > (int) (tup)->t_natts) ? \
- (((isnull) ? (*(isnull) = true) : (char)NULL), (Datum)NULL) : \
+ (((isnull) ? (*(isnull) = true) : (void)NULL), (Datum)NULL) : \
((attnum) > 0) ? \
fastgetattr((tup), (attnum), (tupleDesc), (isnull)) : \
- (((isnull) ? (*(isnull) = false) : (char)NULL), heap_getsysattr((tup), (b), (attnum))) : \
+ (((isnull) ? (*(isnull) = false) : (void)NULL), heap_getsysattr((tup), (b), (attnum))) : \
(Datum)NULL)
extern HeapAccessStatistics heap_access_stats; /* in stats.c */