mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-07-07 21:38:50 +00:00
Fixed another compiler warning (missing cast)
This commit is contained in:
parent
a5c5949009
commit
010dc6258e
|
@ -275,7 +275,7 @@ fsm_close(fsm *f, char *reason)
|
||||||
LWIP_UNUSED_ARG(oldState);
|
LWIP_UNUSED_ARG(oldState);
|
||||||
|
|
||||||
f->term_reason = reason;
|
f->term_reason = reason;
|
||||||
f->term_reason_len = (reason == NULL? 0: strlen(reason));
|
f->term_reason_len = (reason == NULL ? 0 : (int)strlen(reason));
|
||||||
switch( f->state ) {
|
switch( f->state ) {
|
||||||
case LS_STARTING:
|
case LS_STARTING:
|
||||||
f->state = LS_INITIAL;
|
f->state = LS_INITIAL;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user