Re: Odbcapi30.c - 64 bit compiler warning cleanup - Mailing list pgsql-odbc

From Ludek Finstrle
Subject Re: Odbcapi30.c - 64 bit compiler warning cleanup
Date
Msg-id 20060126205813.GA12369@soptik.pzkagis.cz
Whole thread Raw
In response to Re: Odbcapi30.c - 64 bit compiler warning cleanup  (Ludek Finstrle <luf@pzkagis.cz>)
Responses Re: Odbcapi30.c - 64 bit compiler warning cleanup  (Ludek Finstrle <luf@pzkagis.cz>)
List pgsql-odbc
> > > >> I don't solve the problem in options.c where 64-bit pointer may
> > > >> be passwd throught 32-bit number. I don't know how to solve it.
> > >
> > > > No nor I. Any chance of a little help with this one please Tom?
> > >
> > > I assume that you can't alter the signature of PGAPI_SetConnectOption,
> > > ie, vParam really has to be SQLUINTEGER and not some other type?
> >
> > The spec actually says it should be a SQLPOINTER. Changing to that
> > unleashes a whole barrel of extra fun unfortunately.
>
> I don't think it will be so problematic. I'll try it. It's the best way
> to support Win64.

Here is my result. Patch attached. I have no 64-bit box ready at hand here.
I will test it on 64-bit box tomorrow.

Please review and comment

Luf

Attachment

pgsql-odbc by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: is there a default client encoding?
Next
From: Ludek Finstrle
Date:
Subject: Re: Odbcapi30.c - 64 bit compiler warning cleanup