lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #58141] mDNS: mixed usage of (un)signed for same varia


From: Jasper Verschueren
Subject: [lwip-devel] [bug #58141] mDNS: mixed usage of (un)signed for same variable
Date: Mon, 11 May 2020 09:35:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36

Follow-up Comment #3, bug #58141 (project lwip):

Attached you can find the correct patch.

I used MDNS_MAX_SERVICES as the error code for function
mdns_resp_add_service(). 
Using the same return value for two types is not nice coding.
So we should not use it as err_t and slot number.
This is now corrected.


(file #49056)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-mdns-fixes-mixed-usage-of-signed-and-unsigned-for-sa.patch
Size:5 KB
   
<https://savannah.nongnu.org/file/0001-mdns-fixes-mixed-usage-of-signed-and-unsigned-for-sa.patch?file_id=49056>



    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?58141>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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