mirror of
https://github.com/clearml/dropbear
synced 2025-02-25 21:28:52 +00:00
cast to fix warning
This commit is contained in:
parent
d277f140ba
commit
9e25854b41
@ -169,7 +169,7 @@ enum signkey_type signkey_type_from_signature(enum signature_type sigtype) {
|
|||||||
return DROPBEAR_SIGNKEY_RSA;
|
return DROPBEAR_SIGNKEY_RSA;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
assert(sigtype < DROPBEAR_SIGNKEY_NUM_NAMED);
|
assert((int)sigtype < (int)DROPBEAR_SIGNKEY_NUM_NAMED);
|
||||||
return (enum signkey_type)sigtype;
|
return (enum signkey_type)sigtype;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user