mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 04:54:38 +08: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);
|
||||
|
||||
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 ) {
|
||||
case LS_STARTING:
|
||||
f->state = LS_INITIAL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user