On 5/13/07, frits vanderlinden <fritsv@sonic.net> wrote:

Peter's suggestion of using explicitly defined sizes is good, ie. always
use uintxx_t so there is no confusion what the size should be. Also if
the USB spec says it is a byte, declare as uint8_t (eg vendor and
product were declared as uint16_t). there is quite a bit of sloppy stuff

Yes, I agree using the uintxx_t types for all of the data types that we can.