changeset 1255:55d485943eb0

cast return type to enum
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 22:40:15 +0800
parents 1ed6f39e8aa4
children 506f7681d0f8 8291fc87273e
files signkey.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/signkey.c	Tue Mar 15 22:04:13 2016 +0800
+++ b/signkey.c	Tue Mar 15 22:40:15 2016 +0800
@@ -93,7 +93,7 @@
 			}
 #endif
 
-			return i;
+			return (enum signkey_type)i;
 		}
 	}