lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Bug in Checksum implementation and ARP fix


From: David Vrabel
Subject: Re: [lwip-devel] Bug in Checksum implementation and ARP fix
Date: Fri, 24 Oct 2003 09:18:08 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624


Makes sense, but I would point out why I'm sensitized to this: I ported some
code from an 8-bit architecture to a 32-bit DSP a couple years ago, and the
most troublesome part of the port was the assumption that casting to a char
performed masking to 8 bits.

The ISO C99 standard specifies a whole bunch of special types in <stdint.h> for this very purpose. uint8_t for example.

David Vrabel
--
David Vrabel, Design Engineer

Arcom                         Tel: +44 (0)1223 411200 ext. 3233
Clifton Road                  Fax: +44 (0)1223 403400
Cambridge CB1 7EA             E-mail: address@hidden
UK                            Web: http://www.arcom.com/


_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the 
addressee only and should not be disclosed to any other party. Unauthorised 
recipients are requested to preserve this confidentiality. Please advise the 
sender if the addressee is not resident at the receiving end.

This message has been checked for all viruses by MessageLabs Virus Control 
Centre.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]