diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-05-26 19:57:28 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-05-26 19:57:28 +0800 |
commit | a00bf2fee662d78d96b610ad2e6bb86c2e5b55f9 (patch) | |
tree | aeb389e78eafb2f126de17a4303ba83ab7a5cbf7 | |
parent | ffa4f43fd6a3dfe36457263132d7a109b644aeb4 (diff) | |
download | dropbear-a00bf2fee662d78d96b610ad2e6bb86c2e5b55f9.tar.gz |
cast to fix warning
-rw-r--r-- | signkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ enum signkey_type signkey_type_from_signature(enum signature_type sigtype) { return DROPBEAR_SIGNKEY_RSA; } #endif - assert(sigtype < DROPBEAR_SIGNKEY_NUM_NAMED); + assert((int)sigtype < (int)DROPBEAR_SIGNKEY_NUM_NAMED); return (enum signkey_type)sigtype; } |