Corrected warnings found by splint.
This commit is contained in:
@@ -46,7 +46,7 @@ static INDTEXT_DATA mstp_receive_state_text[] = {
|
||||
};
|
||||
|
||||
const char *mstptext_receive_state(
|
||||
int index)
|
||||
unsigned index)
|
||||
{
|
||||
return indtext_by_index_default(mstp_receive_state_text, index, "unknown");
|
||||
}
|
||||
@@ -65,7 +65,7 @@ static INDTEXT_DATA mstp_master_state_text[] = {
|
||||
};
|
||||
|
||||
const char *mstptext_master_state(
|
||||
int index)
|
||||
unsigned index)
|
||||
{
|
||||
return indtext_by_index_default(mstp_master_state_text, index, "unknown");
|
||||
}
|
||||
@@ -84,7 +84,7 @@ static INDTEXT_DATA mstp_frame_type_text[] = {
|
||||
};
|
||||
|
||||
const char *mstptext_frame_type(
|
||||
int index)
|
||||
unsigned index)
|
||||
{
|
||||
return indtext_by_index_split_default(mstp_frame_type_text, index,
|
||||
FRAME_TYPE_PROPRIETARY_MIN, "UNKNOWN", "PROPRIETARY");
|
||||
|
||||
Reference in New Issue
Block a user