]> granicus.if.org Git - postgresql/commitdiff
Add cast to suppress gcc warning on Darwin platform.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Jan 2002 19:34:55 +0000 (19:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Jan 2002 19:34:55 +0000 (19:34 +0000)
src/backend/storage/page/bufpage.c

index d6c0339e142b1b1296946601a4cf3486c695053d..d23d9359ca2973f6ab01a34a634a440022219d45 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/storage/page/bufpage.c,v 1.42 2002/01/15 22:14:17 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/storage/page/bufpage.c,v 1.43 2002/01/30 19:34:55 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -447,7 +447,7 @@ PageIndexTupleDelete(Page page, OffsetNumber offnum)
        if (offset < phdr->pd_upper || (offset + size) > phdr->pd_special ||
                offset != MAXALIGN(offset) || size != MAXALIGN(size))
                elog(ERROR, "PageIndexTupleDelete: corrupted item pointer: offset = %u size = %u",
-                        offset, size);
+                        offset, (unsigned int) size);
 
        /*
         * First, we want to get rid of the pd_linp entry for the index tuple.