[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] SF.net SVN: supercollider:[8120] trunk



2008/12/13 stefan kersten <sk@xxxxxxxxxx>:
> hi dan,
>
> sorry, forgot to answer. just some cosmetics:
>
> danstowell@xxxxxxxxxxxxxxxxxxxxx wrote:
>> -     AllocChunkPtr ChunkAtOffset(size_t inSize)
>> +     AllocChunkPtr ChunkAtOffset(signed long inSize)
>
> long is signed by default.

Yeah I know... I just typed that and then didn't bother to simplify
it. It's correct syntax of course, but feel free to simplify.

>> +             { return ChunkAtOffset(0L-PrevSize()); }
>
> imho a more suitable idiom would be:
>
> return ChunkAtOffset(-(long)PrevSize());

OK, go for it

Dan

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/