[Vm-dev] Suspicious typing in Cog VM

Pierce Ng pierce at netmemetic.com
Thu Dec 9 01:51:04 UTC 2010

On Wed, Dec 08, 2010 at 09:01:17PM +0300, Aleksej Saushev wrote:
> >     -int snd_InsertSamplesFromLeadTime(int frameCount, int srcBufPtr, int samplesOfLeadTime)
> >     +sqInt snd_InsertSamplesFromLeadTime(sqInt frameCount, void *srcBufPtr, sqInt samplesOfLeadTime)
> >     ?{
> >     ? return snd->snd_InsertSamplesFromLeadTime(frameCount, srcBufPtr, samplesOfLeadTime);
> >     ?}

Just try changing them - if the .h says sqInt, but .c says int, then change
the .c to match, ditto for int and void*.

I believe these can be fixed through VMMaker as well.

More information about the Vm-dev mailing list