GetDlgItem16 - is id signed or not?

Gerard Patel gerard.patel at nerim.net
Sun Nov 11 20:01:59 CST 2001


At 07:07 PM 11/11/2001 -0500, you wrote:
>
>It hasn't gotten itself fixed in the ordinary way of progress, so I have
>finally gotten around to a regression in juno-1.49.  It crashes just
>after getting back 0 from GetDlgItem16, so I added a little trace inside
>GetDlgItem.  Now I know why it crashes, but I don't know - is id really
>unsigned, or is GetControl16 incorrectly failing to extend the sign?
>I guess I could try it each way and see which one does least damage, but
>probably several of you know which way it is meant to go.

I'd cast id to unsigned in GetDlgItem16.

Gerard





More information about the wine-devel mailing list