[SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-1479-gfb21bc1

[email protected] (Axel Lin)
Newsgroups gmane.network.lwip.cvs
Message-ID <[email protected]>
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  fb21bc16090116d11c4b0787a9dba3ed42224c1d (commit)
      from  9992b48e90416b5abe8dfc1430b690fe2ae3f7ae (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 fb21bc16090116d11c4b0787a9dba3ed42224c1d
Author: Axel Lin <[email protected]>
Date:   Thu Jun 21 09:09:34 2018 +0800

    tcp_priv.h: LWIP_TCP_OPT_LENGTH: Enclosing macro argument in parentheses
    
    Fix below build error:
    In file included from
    ../../../../lwip/src/../test/unit/tcp/test_tcp.c:3:0:
    ../../../../lwip/src/../test/unit/tcp/test_tcp.c: In function
    ‘test_tcp_rto_timeout_syn_sent_impl’:
    ../../../../lwip/src/../test/unit/tcp/test_tcp.c:1246:113: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
       const u16_t tcp_syn_opts_len = LWIP_TCP_OPT_LENGTH(TF_SEG_OPTS_MSS|TF_SEG_OPTS_WND_SCALE|TF_SEG_OPTS_SACK_PERM|TF_SEG_OPTS_TS);
                                                                                                                     ^
    ../../../../lwip/src/include/lwip/priv/tcp_priv.h:305:4: note: in definition of macro ‘LWIP_TCP_OPT_LENGTH’
       (flags & TF_SEG_OPTS_MSS       ? LWIP_TCP_OPT_LEN_MSS           : 0) + \
        ^~~~~
    
    Signed-off-by: Axel Lin <[email protected]>

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

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


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

_______________________________________________
lwip-commits mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.