[PD-dev] getting rid of warning (incompatible integer to pointer conversion )

Alexandre Torres Porres porres at gmail.com
Wed Feb 23 03:43:39 CET 2022


Hi, I'm trying to get rid of all compilation warnings for my library but
I'm stuck with this one. Is there a way to get rid of this or I'll just
have to live with it?



*warning: **incompatible integer to pointer conversion initializing 't_int
*' (aka 'long *')*

*      with an expression of type 'int' [-Wint-conversion]*

    t_int*nblock = sp[0]->s_n;



This is where it lives =>
https://github.com/porres/pd-else/blob/master/Classes/Source/chance~.c#L72


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20220222/86dd82bc/attachment.htm>


More information about the Pd-dev mailing list