Re: malloc to static array

Andre <[email protected]> Fri, 14 Oct 2005 00:48:26 +0100 (BST)
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
Matt Weber <[email protected]> wrote:
> 
> decoder->sync = syncDat[0];
> 

Should perhaps be:

decoder->sync = &syncDat[0];

or even

decoder->sync = syncDat;

Have fun... ;-)