Fixed another compiler warning (missing cast)

This commit is contained in:
goldsimon 2010-02-05 10:35:47 +00:00
parent a5c5949009
commit 010dc6258e

View File

@ -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;