Fix some warnings discovered by compiling the unixsim under cygwin (gcc pedantic)

This commit is contained in:
goldsimon
2007-11-25 13:57:05 +00:00
parent 1b208d0954
commit e1f49d990b
5 changed files with 13 additions and 13 deletions

View File

@@ -2502,16 +2502,16 @@ ifentry_get_value(struct obj_def *od, u16_t len, void *value)
{
if (netif_is_link_up(netif))
{
*sint_ptr = 1; // up
*sint_ptr = 1; /* up */
}
else
{
*sint_ptr = 7; // lowerLayerDown
*sint_ptr = 7; /* lowerLayerDown */
}
}
else
{
*sint_ptr = 2; // down
*sint_ptr = 2; /* down */
}
}
break;