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

Re: [pgadmin-support] pgadmin3 beta3 build failure

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: steve fox <steve(at)wiscota(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin-support] pgadmin3 beta3 build failure
Date: 2004-10-22 11:38:38
Message-ID: 4178F13E.5060909@pse-consulting.de (view raw or flat)
Thread:
Lists: pgadmin-hackerspgadmin-support
steve fox wrote:
> Thanks, Andreas -
> 
> I'm noted for being good at inventing new errors! ;)
> 
> Here's my line 86:
> 
>  m_conversion->MB2WC((wxChar*)wxStringBuffer(str, nLen), buffer, nLen+1);
> 
> 
> All still breaks, and I'm open to any casting tips.

Try full casting:
  m_conversion->MB2WC((wchar_t*)(wxChar*)wxStringBuffer(str, nLen), 
(const char*)buffer, (size_t)(nLen+1));

and try to locate which param finally was the offending.

Regards,
Andreas



In response to

Responses

pgadmin-hackers by date

Next:From: cvsDate: 2004-10-22 14:25:18
Subject: CVS Commit by andreas: fix Query Tool which marked text as changed when
Previous:From: Dave PageDate: 2004-10-22 07:23:58
Subject: Re: slovenian translation minor (typo) fix

pgadmin-support by date

Next:From: Richard van den BergDate: 2004-10-22 12:57:30
Subject: pgAdmin III v1.2 Beta-3 debian packages
Previous:From: Giulio RenziDate: 2004-10-22 07:37:04
Subject: Error Message: ERROR: column "datpath" does not exist

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