# HG changeset patch # User Matt Johnston # Date 1458052815 -28800 # Node ID 55d485943eb0dd94c4c3449dd1f4d868810e42a2 # Parent 1ed6f39e8aa4f6f0c143af40926d771b1caed4e3 cast return type to enum diff -r 1ed6f39e8aa4 -r 55d485943eb0 signkey.c --- 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; } }