changeset 1684:d5d25ce2a2ed

cast to fix warning
author Matt Johnston <matt@ucc.asn.au>
date Tue, 26 May 2020 19:57:28 +0800
parents 41bf8f216644
children b9a466b43de0
files signkey.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/signkey.c	Tue May 26 00:24:02 2020 +0800
+++ b/signkey.c	Tue May 26 19:57:28 2020 +0800
@@ -169,7 +169,7 @@
 		return DROPBEAR_SIGNKEY_RSA;
 	}
 #endif
-	assert(sigtype < DROPBEAR_SIGNKEY_NUM_NAMED);
+	assert((int)sigtype < (int)DROPBEAR_SIGNKEY_NUM_NAMED);
 	return (enum signkey_type)sigtype;
 }