[Spread-users] port limitation to int16

Johannes Wienke jwienke at techfak.uni-bielefeld.de
Thu Aug 8 11:15:18 EDT 2013


On 08/08/2013 04:40 PM, John Schultz wrote:
> Looks like we had roughly the same idea! :)
> I think changing the underlying types that hold ports is probably safer because if somewhere someone does:
> int16u port;
> ...
> printf("%d", port);
> I think C does the right thing.  

Thanks for the patch.

Right, I missed the two other definitions of port. It works well now.

Will there be a maintenance release including this patch?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
Url : http://lists.spread.org/pipermail/spread-users/attachments/20130808/a37caa41/attachment.bin 

More information about the Spread-users mailing list