[Click] urgent help needed regarding integers

Eddie Kohler kohler at icir.org
Mon Aug 18 09:44:43 EDT 2003


Shilpi

> cpUnsigned is a 4 byte unsigned integer ..while int is a 2 byte signed value in
> c++.

This is not true, C++ requires that 'unsigned' and 'int' have the same size

I would be surprised if you were using an architecture where
sizeof(unsigned) == 2, but it is possible I suppose; a fair amount of Click
would probably break

Eddie


More information about the click mailing list