lwip-commits
[Top][All Lists]
Advanced

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

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up


From: Dirk Ziegelmeier
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-1072-geb30dbf
Date: Sun, 3 Dec 2017 13:34:35 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  eb30dbfdc5d458d4b996987d8be9c818743e59e5 (commit)
      from  975e23bf5ed426e03bf4223bd70cc34eed530db7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit eb30dbfdc5d458d4b996987d8be9c818743e59e5
Author: Axel Lin <address@hidden>
Date:   Thu Nov 30 11:27:42 2017 +0800

    Fix build warning for lwip_isdigit/isxdigit/islower/isspace
    
    lwip_isdigit/isxdigit/islower/isspace takes int as argument, so
    explicitly cast to int to silence below build warnings.
    
    src/core/ipv4/ip4_addr.c: In function 'ip4addr_aton':
    src/core/ipv4/ip4_addr.c:160:5: warning: array subscript has type 'char' 
[-Wchar-subscripts]
         if (!lwip_isdigit(c)) {
         ^
    src/core/ipv4/ip4_addr.c:175:7: warning: array subscript has type 'char' 
[-Wchar-subscripts]
           if (lwip_isdigit(c)) {
           ^
    src/core/ipv4/ip4_addr.c:178:7: warning: array subscript has type 'char' 
[-Wchar-subscripts]
           } else if (base == 16 && lwip_isxdigit(c)) {
           ^
    src/core/ipv4/ip4_addr.c:179:9: warning: array subscript has type 'char' 
[-Wchar-subscripts]
             val = (val << 4) | (u32_t)(c + 10 - (lwip_islower(c) ? 'a' : 'A'));
             ^
    src/core/ipv4/ip4_addr.c:204:3: warning: array subscript has type 'char' 
[-Wchar-subscripts]
       if (c != '\0' && !lwip_isspace(c)) {
       ^
    
    Signed-off-by: Axel Lin <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 src/include/lwip/arch.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
lwIP - A Lightweight TCPIP stack



reply via email to

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