Re: [pgadmin-support] pgadmin3 beta3 build failure - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: [pgadmin-support] pgadmin3 beta3 build failure
Date
Msg-id 4178F13E.5060909@pse-consulting.de
Whole thread Raw
In response to Re: [pgadmin-support] pgadmin3 beta3 build failure at wxMBConv::MB2WC()  (steve fox <steve@wiscota.net>)
Responses Re: [pgadmin-support] pgadmin3 beta3 build failure
List pgadmin-hackers
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



pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: slovenian translation minor (typo) fix
Next
From: cvs@cvs.pgadmin.org
Date:
Subject: CVS Commit by andreas: fix Query Tool which marked text as changed when