lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #6521] lwip doesn't compile in 64_bit computers


From: Rishi Khan
Subject: [lwip-devel] [patch #6521] lwip doesn't compile in 64_bit computers
Date: Fri, 23 May 2008 19:03:51 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

URL:
  <http://savannah.nongnu.org/patch/?6521>

                 Summary: lwip doesn't compile in 64_bit computers
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: rishi
            Submitted on: Friday 05/23/2008 at 19:03
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

I edited many files (mostly sockets.c) to fix the long/int problem. These
really should be u32_t and s32_t. There were many places in sockets.c that
used "%d" instead of "%"S_32F. I fixed all of these. I also edited all int
calls to s32_t or u32_t (for unsigned int).

Just a note, I fixed everything BUT PPP. There are many declarations of int's
and many "%d" calls to LWIP_DEBUG. I don't use PPP, so I left these alone. 


lwip now should compile on 64-bit platforms with PPP_SUPPORT off. (I didn't
break PPP support, I just didn't fix it for the 64_bit cases).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Friday 05/23/2008 at 19:03  Name: 64_bit.patch  Size: 31kB   By: rishi

<http://savannah.nongnu.org/patch/download.php?file_id=15718>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6521>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]