tsvector prints pointer difference as int - Mailing list pgsql-patches

From Kris Jurka
Subject tsvector prints pointer difference as int
Date
Msg-id Pine.BSO.4.64.0803100154580.24272@leary.csoft.net
Whole thread Raw
Responses Re: tsvector prints pointer difference as int  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
The tsvector code is printing a pointer difference as an integer,
generating the following warning:

tsvector.c: In function 'tsvectorin':
tsvector.c:225: warning: format '%d' expects type 'int', but argument 2
has type 'long int'

I was thinking the %td specifier wasn't well supported enough, so I simply
used long.

Kris Jurka

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Include Lists for Text Search
Next
From: Oleg Bartunov
Date:
Subject: Re: [HACKERS] Include Lists for Text Search