]> granicus.if.org Git - postgresql/commitdiff
Fix conditional casting.
authorBruce Momjian <bruce@momjian.us>
Thu, 4 Sep 1997 16:20:55 +0000 (16:20 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 4 Sep 1997 16:20:55 +0000 (16:20 +0000)
src/include/access/heapam.h

index d77c118cae161fe8edfd45c9cf9981fff4167224..7666dc543f2936fb308b85cee23f6fae4cc70c61 100644 (file)
@@ -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 */