diff signkey.c @ 1684:d5d25ce2a2ed

cast to fix warning
author Matt Johnston <matt@ucc.asn.au>
date Tue, 26 May 2020 19:57:28 +0800
parents 435cfb9ec96e
children 064f5be2fc45
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;
 }