comparison signkey.c @ 1255:55d485943eb0

cast return type to enum
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 22:40:15 +0800
parents c6346c63281b
children 0c47d97aa9d5
comparison
equal deleted inserted replaced
1254:1ed6f39e8aa4 1255:55d485943eb0
91 TRACE(("attempt to use ecdsa type %d not compiled in", i)) 91 TRACE(("attempt to use ecdsa type %d not compiled in", i))
92 return DROPBEAR_SIGNKEY_NONE; 92 return DROPBEAR_SIGNKEY_NONE;
93 } 93 }
94 #endif 94 #endif
95 95
96 return i; 96 return (enum signkey_type)i;
97 } 97 }
98 } 98 }
99 99
100 TRACE(("signkey_type_from_name unexpected key type.")) 100 TRACE(("signkey_type_from_name unexpected key type."))
101 101