diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-07-28 06:56:28 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-07-28 06:56:28 +0000 |
commit | 4b3cb03104eaa8bfb201814b6d1dd81e43b39b9b (patch) | |
tree | 24c4da6f2628b43316aa6073c95b0ec2119f3646 | |
parent | b834d27bc96423e2402ebd829f6892ff7b802f41 (diff) | |
download | postgresql-4b3cb03104eaa8bfb201814b6d1dd81e43b39b9b.tar.gz postgresql-4b3cb03104eaa8bfb201814b6d1dd81e43b39b9b.zip |
fixes: It appears several routines use lcons to store integers rather than
pointers.
submitted by: bruce
-rw-r--r-- | src/backend/nodes/pg_list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/nodes/pg_list.h b/src/backend/nodes/pg_list.h index 83eaa5f93ab..84d2645a7c4 100644 --- a/src/backend/nodes/pg_list.h +++ b/src/backend/nodes/pg_list.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pg_list.h,v 1.1.1.1 1996/07/09 06:21:33 scrappy Exp $ + * $Id: pg_list.h,v 1.2 1996/07/28 06:56:28 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -88,7 +88,7 @@ extern void *nth(int n, List *l); extern void set_nth(List *l, int n, void *elem); /* hack for now */ -#define lconsi(i,l) lcons((void*)i,l) +#define lconsi(i,l) lcons((void*)(int)i,l) #define lfirsti(l) ((int)lfirst(l)) #define lappendi(l,i) lappend(l,(void*)i) extern bool intMember(int, List *); |