Simple network code printf warning fix

Andy Jackson andy@grapevinetech.co.uk
Mon May 8 16:10:00 GMT 2006


I noticed that one of the files in the network code was giving printf 
argument warnings. The attached patch fixes that by converting the 0x%08x 
formats to %p which gcc prefers for pointers. I don't know if this has any 
wider implications. Tested with gcc 3.4.3.

    Andy..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bsd_tcpip.patch
Type: application/octet-stream
Size: 1474 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20060508/b59d42f4/attachment.obj>


More information about the Ecos-patches mailing list