This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Simple network code printf warning fix


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..

Attachment: bsd_tcpip.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]