From bef0c8dc294f3ed0e4ad0b630e3b5e2893490f3a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 30 Jan 2002 19:34:55 +0000 Subject: [PATCH] Add cast to suppress gcc warning on Darwin platform. --- src/backend/storage/page/bufpage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/storage/page/bufpage.c b/src/backend/storage/page/bufpage.c index d6c0339e14..d23d9359ca 100644 --- a/src/backend/storage/page/bufpage.c +++ b/src/backend/storage/page/bufpage.c @@ -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. -- 2.40.0