aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-09-04 16:20:55 +0000
committerBruce Momjian <bruce@momjian.us>1997-09-04 16:20:55 +0000
commit9fcd4c25bcbdef6ee7b7e97488779d7561886d4a (patch)
tree87f36a3cbaa391781dd870febf67d7cc2f892c98 /src
parent33b028b5b01084cb5c25aea8cba7f39a3842c420 (diff)
downloadpostgresql-9fcd4c25bcbdef6ee7b7e97488779d7561886d4a.tar.gz
postgresql-9fcd4c25bcbdef6ee7b7e97488779d7561886d4a.zip
Fix conditional casting.
Diffstat (limited to 'src')
-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 d77c118cae1..7666dc543f2 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.10 1997/08/29 00:44:55 momjian Exp $
+ * $Id: heapam.h,v 1.11 1997/09/04 16:20:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -96,10 +96,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), (char *)NULL) : \
+ (((isnull) ? (*(isnull) = true) : (char)NULL), (char *)NULL) : \
((attnum) > 0) ? \
fastgetattr((tup), (attnum), (tupleDesc), (isnull)) : \
- (((isnull) ? (*(isnull) = false) : (char *)NULL), heap_getsysattr((tup), (b), (attnum))) : \
+ (((isnull) ? (*(isnull) = false) : (char)NULL), heap_getsysattr((tup), (b), (attnum))) : \
(char *)NULL)
extern HeapAccessStatistics heap_access_stats; /* in stats.c */