summaryrefslogtreecommitdiff
path: root/src/include/storage/block.h
diff options
context:
space:
mode:
authorTom Lane2000-03-17 02:36:41 +0000
committerTom Lane2000-03-17 02:36:41 +0000
commit341b328b180e65d1fa5c8f2235cf101c8a12824f (patch)
tree88d54198ffa15aea581251471f8c062ae9e3142e /src/include/storage/block.h
parentbc1f117094fbe2921f37923d8f7528284cb26dfc (diff)
Fix a bunch of minor portability problems and maybe-bugs revealed by
running gcc and HP's cc with warnings cranked way up. Signed vs unsigned comparisons, routines declared static and then defined not-static, that kind of thing. Tedious, but perhaps useful...
Diffstat (limited to 'src/include/storage/block.h')
-rw-r--r--src/include/storage/block.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/block.h b/src/include/storage/block.h
index 33c881cbd43..ca85ba7a3fc 100644
--- a/src/include/storage/block.h
+++ b/src/include/storage/block.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: block.h,v 1.10 2000/01/26 05:58:32 momjian Exp $
+ * $Id: block.h,v 1.11 2000/03/17 02:36:41 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -66,7 +66,7 @@ typedef BlockIdData *BlockId; /* block identifier */
* True iff blockNumber is valid.
*/
#define BlockNumberIsValid(blockNumber) \
- ((bool) ((int32) (blockNumber) != InvalidBlockNumber))
+ ((bool) ((BlockNumber) (blockNumber) != InvalidBlockNumber))
/*
* BlockIdIsValid