19 Dec
2008
19 Dec
'08
11:01
>>> On 12/19/2008 at 12:01 PM, Bernhard Walle <bwalle@suse.de> wrote: > * Dominique Leuenberger [2008-12-19 11:54]: >> { >> *pSample++ = bswapLE16(*pSample); >> } > [...] >> Would splitting it into >> *pSample = bswapLE16(*pSample); >> *pSample++; > > I think. Actually you need only > > *pSample = bswapLE16(*pSample); > pSample++; Oh, right ;) I'll give it a try and hope it really is, what the compiler does out of this instructions in normal cases. The line is indeed not very 'clear' to understand and leaves room for interpretation. Dominique -- Dominique Leuenberger TMF Netherlands B.V Locatellikade 1, 1070 AZ Amsterdam E-mail: dominique.leuenberger@tmf-group.com www.tmf-group.com -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org