Skip site navigation (1) Skip section navigation (2)

Re: Odbcapi30.c - 64 bit compiler warning cleanup

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Ludek Finstrle <luf(at)pzkagis(dot)cz>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: Odbcapi30.c - 64 bit compiler warning cleanup
Date: 2006-01-26 20:58:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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


In response to


pgsql-odbc by date

Next:From: Ludek FinstrleDate: 2006-01-27 08:25:40
Subject: Re: Odbcapi30.c - 64 bit compiler warning cleanup
Previous:From: Jaime CasanovaDate: 2006-01-26 19:34:39
Subject: Re: is there a default client encoding?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group