mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +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:
@ -12,7 +12,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.1.1.1 1996/07/09 06:22:05 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.2 1996/07/31 18:48:16 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -380,7 +380,7 @@ btreesel(Oid operatorObjectId,
|
||||
result = (float64)fmgr(get_oprrest (operatorObjectId),
|
||||
(char*)operatorObjectId,
|
||||
(char*)indrelid,
|
||||
(char*)attributeNumber,
|
||||
(char*)(int)attributeNumber,
|
||||
(char*)constValue,
|
||||
(char*)constFlag,
|
||||
NULL);
|
||||
@ -422,7 +422,7 @@ btreenpage(Oid operatorObjectId,
|
||||
temp = (float64)fmgr(get_oprrest (operatorObjectId),
|
||||
(char*)operatorObjectId,
|
||||
(char*)indrelid,
|
||||
(char*)attributeNumber,
|
||||
(char*)(int)attributeNumber,
|
||||
(char*)constValue,
|
||||
(char*)constFlag,
|
||||
NULL);
|
||||
@ -484,7 +484,7 @@ hashsel(Oid operatorObjectId,
|
||||
result = (float64)fmgr(get_oprrest (operatorObjectId),
|
||||
(char*)operatorObjectId,
|
||||
(char*)indrelid,
|
||||
(char*)attributeNumber,
|
||||
(char*)(int)attributeNumber,
|
||||
(char*)constValue,
|
||||
(char*)constFlag,
|
||||
NULL);
|
||||
@ -545,7 +545,7 @@ hashnpage(Oid operatorObjectId,
|
||||
temp = (float64)fmgr(get_oprrest (operatorObjectId),
|
||||
(char*)operatorObjectId,
|
||||
(char*)indrelid,
|
||||
(char*)attributeNumber,
|
||||
(char*)(int)attributeNumber,
|
||||
(char*)constValue,
|
||||
(char*)constFlag,
|
||||
NULL);
|
||||
|
Reference in New Issue
Block a user