lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] build error: conversion to 'u32_t' from 'int' may change th


From: Axel Lin
Subject: [lwip-devel] build error: conversion to 'u32_t' from 'int' may change the sign of the result
Date: Wed, 26 Jul 2017 08:10:42 +0800

Hi,
I got below build error in current git tree:

src/include/lwip/api.h:394:77: error: conversion to 'u32_t' from 'int'
may change the sign of the result [-Werror=sign-conversion]
 #define netconn_set_recvtimeout(conn, timeout)
((conn)->recv_timeout = (timeout))
                                                                             ^
Looks like commit 44f7a3cb0d87 ("work on -Wconversion...") changes int
recv_timeout; to u32_t recv_timeout; causes this build error.



reply via email to

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