Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4b3cb03

Browse files
committed
fixes: It appears several routines use lcons to store integers rather than
pointers.submitted by: bruce
1 parentb834d27 commit4b3cb03

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
externvoidset_nth(List*l,intn,void*elem);
8989

9090
/* hack for now */
91-
#definelconsi(i,l)lcons((void*)i,l)
91+
#definelconsi(i,l)lcons((void*)(int)i,l)
9292
#definelfirsti(l)((int)lfirst(l))
9393
#definelappendi(l,i)lappend(l,(void*)i)
9494
externboolintMember(int,List*);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp