De: Antonio Scuri <antonio.sc...@gmail.com>
Enviado: quinta-feira, 16 de julho de 2020 18:50
Para: IUP discussion list.
Assunto: Re: [Iup-users] IUP assorted issues (part IV)

>>  Why Coverity claims this?
>>  4. access_dbuff_in_call: Calling Polygon indexes array (POINT *)points with 
>> index count.
>>  Polygon expect param const POINT *apt;
>> and IUP uses array type int?

  >Yes, it is.
Well, Polygon expect variable type CPOINT:
https://docs.microsoft.com/en-us/previous-versions/dd162805(v=vs.85)

typedef struct tagPOINT {
  LONG x;
  LONG y;
} POINT, *PPOINT;

I believe, that can corrupt memory.

regards,
Ranier Vilela

_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to