apparent tsearch breakage on 64-bit machines

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: apparent tsearch breakage on 64-bit machines
Date: 2007-09-08 02:31:07
Message-ID: 4180.1189218667@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On my x86_64 machine, CVS HEAD is throwing the following scary-looking
warnings:

to_tsany.c: In function 'pushval_morph':
to_tsany.c:247: warning: cast from pointer to integer of different size
to_tsany.c: In function 'to_tsquery_byid':
to_tsany.c:306: warning: cast to pointer from integer of different size
to_tsany.c: In function 'plainto_tsquery_byid':
to_tsany.c:344: warning: cast to pointer from integer of different size

Whether the code is actually safe or not, these are not acceptable.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-08 03:34:32 Re: apparent tsearch breakage on 64-bit machines
Previous Message Tom Lane 2007-09-08 02:25:43 Re: WIP patch for latestCompletedXid method of computing snapshot xmax