OS_CRC

Tony van der Hoff tony at mk-net.demon.co.uk
Mon Sep 23 13:00:48 BST 2002


On 14 Sep 2002, in message <4917f0754b.Jan-Jaap at c2i.net>,
you wrote:

> Hello,
> 
> I was surprised to find that the start of the block in
> OS_CRC/XOS_CRC is defined as a byte const *, while the end of the
> block is defined by a char const *. I'm not saying it is wrong
> (I'm somewhat of a C newbie), but I find it unexpected... Why is
> this?
> 

Well, I agree that it looks odd; I would have expected them to both be byte
const *. The reasons (if any) are shrouded in the mists of time. On the other
hand, although it may force a nasty cast, I'm not sure that it is worth
changing at this stage. Are there any strong feelings out there in
OSLib-land?

Cheers, Tony
-- 
Tony van der Hoff         | MailTo:tony at mk-net.demon.co.uk
                          | MailTo:avanderhoff at iee.org
Buckinghamshire, England  | http:www.mk-net.demon.co.uk



More information about the oslib-user mailing list