Skip to content

Commit 4b3cb03

Browse files
committed
fixes: It appears several routines use lcons to store integers rather than
pointers. submitted by: bruce
1 parent b834d27 commit 4b3cb03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/nodes/pg_list.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: pg_list.h,v 1.1.1.1 1996/07/09 06:21:33 scrappy Exp $
9+
* $Id: pg_list.h,v 1.2 1996/07/28 06:56:28 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -88,7 +88,7 @@ extern void *nth(int n, List *l);
8888
extern void set_nth(List *l, int n, void *elem);
8989

9090
/* hack for now */
91-
#define lconsi(i,l) lcons((void*)i,l)
91+
#define lconsi(i,l) lcons((void*)(int)i,l)
9292
#define lfirsti(l) ((int)lfirst(l))
9393
#define lappendi(l,i) lappend(l,(void*)i)
9494
extern bool intMember(int, List *);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy