1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00

This prevent gcc from complaining about casting a short to a char * and

fixes another complaint.

More fixes from Bruce...
This commit is contained in:
Marc G. Fournier
1996-07-31 18:48:16 +00:00
parent 9c0f89c4a4
commit 7bdd8dcac3
4 changed files with 15 additions and 15 deletions

View File

@@ -5,7 +5,7 @@
*
*
* IDENTIFICATION
* $Id: nbtsort.c,v 1.1.1.1 1996/07/09 06:21:12 scrappy Exp $
* $Id: nbtsort.c,v 1.2 1996/07/31 18:46:47 scrappy Exp $
*
* NOTES
*
@@ -97,10 +97,10 @@ _bt_isortcmpinit(Relation index)
}
static int
_bt_isortcmp(BTItem *bti1p, BTItem *bti2p)
_bt_isortcmp(const void *bti1p,const void *bti2p)
{
BTItem bti1 = *bti1p;
BTItem bti2 = *bti2p;
BTItem bti1 = *(BTItem *)bti1p;
BTItem bti2 = *(BTItem *)bti2p;
if (bti1 == (BTItem) NULL) {
if (bti2 == (BTItem) NULL) {